简体   繁体   中英

How to launch a window.xib file in storyboard?

我是Xcode的新手并构建我的第一个应用程序,我想要合并一个Twitter提要,我的项目是在Storyboard中完成的,但是Twitter提要代码是.xib,有没有一个很好的方法在Storyboard中启动.xib?

There is no real need to launch the window.xib in the storyboard. Just instantiate your view controller that is the file owner of your twitter feed code programmatically and push into your navigation controller. It won't cause any problems. The storyboard is basically an extension to the way screens were managed before. You can have all you "scenes" in storyboard and programmatically push a view controller from outside the storyboard without any problems and navigate back again.

The UINavigationController is the key. It only cares that it got a UIViewController.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM