簡體   English   中英

如何將一個Storyboard的ContainerView鏈接到另一個Storyboard中的ViewController?

[英]How to link ContainerView of one Storyboard to ViewController in another Storyboard?

就像本視頻中的時間戳說明一樣 -> 2個ViewController,每個都有1個ContainerView。 並且每個容器視圖都使用Segue鏈接到SmallViewController。

就我而言,我有多個情節提要。 我想將不同故事板中不同ViewController的所有不同ContainerView鏈接到一個共同的SmallViewController。

請指導如何實現這種情況。

PS:“ SmallViewController”是指ContainerView的ViewController。

我認為您正在尋找的是“ storyboard引用”。 使用情節提要引用,您可以通過按引用推入該vc導航到另一個情節提要的viewcontroller。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM