【发布时间】:2018-07-12 13:46:03
【问题描述】:
正如this video at timestamp 中所解释的那样——> 2 个 ViewController,每个都有 1 个 ContainerView。每个容器视图都使用 Segue 链接到 SmallViewController。
就我而言,我有多个故事板。 我想将不同 Storyboard 中不同 ViewController 的所有不同 ContainerView(s) 链接到一个公共 SmallViewController。
请指导如何实现这种情况。
附: : “SmallViewController”是指 ContainerView 的 ViewController。
【问题讨论】:
-
我认为您正在寻找的内容称为“故事板参考”。使用故事板引用,您可以通过按引用推送该 vc 来导航到另一个故事板的视图控制器。
-
是的,这个关键字就是我要找的。谢谢。
-
我会将其添加为答案。 :)
标签: ios xcode storyboard uicontainerview