Xcode Add Child To Container View

。_饼干妹妹 提交于 2020-01-16 03:04:05

问题


Sorry if the answer to this is obvious - its not to me and I can't seem to find a straight forward answer by searching.

I've created a Container View Controller which as default comes with a child. I want to add a second (and third) child in the storyboard but I can see how to link up a new View Controller with the Container View Controller.

Can anyone advise?

Many thanks


回答1:


Yup, it's one of those bizarre things about iOS ...

it's like the most normal, common thing you need to do ------- but you can't find it explained anywhere!

Here's the full story ... https://stackoverflow.com/a/23403979/294884

Scroll to the section: "Advanced! How to change the type of container view." which is what you ask! Cheers.



来源:https://stackoverflow.com/questions/24618457/xcode-add-child-to-container-view

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!