UINavigationController as child view of UIViewController

Posted by Gregg on Stack Overflow See other posts from Stack Overflow or by Gregg
Published on 2010-12-30T22:49:56Z Indexed on 2010/12/30 22:54 UTC
Read the original article Hit count: 229

I have an application that isn't nav based. So there is no UINavigationController in the App Delegate. However, I need to switch to a UINavigationController for a piece of the application. Steps I currently took...

  • Create a new Class that extends UIViewController
  • Added a UINavigationController via IB
  • Told IB that the new UIViewController's view is the view for the UINavigationController

The problem now is that the File's Owner needs it's view set. But via IB there is no way to specify this. So obviously, I'm not going about this the right way. Any tips in the right direction are much appreciated.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk-4.0