【问题标题】:Load a UITabBarController From UIViewController button Click [closed]从 UIViewController 按钮加载 UITabBarController 单击 [关闭]
【发布时间】:2014-01-04 04:58:17
【问题描述】:

如何从 UIViewController 按钮单击加载 UITabBarController?

我已经附上了我的故事板设计here

【问题讨论】:

    标签: ios iphone uiviewcontroller uinavigationcontroller uitabbarcontroller


    【解决方案1】:

    按住 Control 从您的按钮拖动到标签栏视图控制器。选择模态演示。

    【讨论】:

    • 一切正常。谢谢。
    【解决方案2】:

    您可以在 UIButton 上添加一个操作,然后推送或模态显示 TabBarViewController。 为此,请按 Ctrl + 单击按钮并将鼠标指针拖动到 TabBarController,StoryBoard 将弹出动作类型,从中选择一个。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-04-24
      • 1970-01-01
      • 1970-01-01
      • 2011-12-05
      • 1970-01-01
      • 2013-07-13
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多