【问题标题】:How to add storyboard reference in another storyboard如何在另一个故事板中添加故事板参考
【发布时间】:2016-04-07 07:55:57
【问题描述】:

我有 2 个故事板 - mainStoryBoard1mainStoryBoard2

我需要执行从ViewController of mainStoryBoard1ViewController of mainStoryBoard2. 的转场

有人知道怎么做吗?

【问题讨论】:

    标签: ios iphone storyboard uistoryboard uistoryboardsegue


    【解决方案1】:

    Xcode 7 中的 Interface Builder 在“对象库”中有“Storyboard Reference”对象:

    只需将其拖到故事板上即可。然后,您可以选择该故事板引用并在属性检查器中指定它所引用的故事板:

    然后,您现在可以向此引用添加 segue,您将从一个情节提要中的场景转入另一个情节提要中的场景。

    【讨论】:

      猜你喜欢
      • 2013-09-17
      • 2017-02-22
      • 2014-11-13
      • 1970-01-01
      • 2017-01-04
      • 2013-02-03
      • 2017-05-14
      • 2012-03-23
      • 1970-01-01
      相关资源
      最近更新 更多