UINavigationController from UIViewController

Posted by 4thSpace on Stack Overflow See other posts from Stack Overflow or by 4thSpace
Published on 2010-05-28T06:24:25Z Indexed on 2010/05/28 6:32 UTC
Read the original article Hit count: 470

I currently have this workflow in a tab based app:

Tab1 loads...

ViewOne : UIViewController
  >> 
    PickerView : UIViewController
    >> 
       DetailView : UIViewController

">>" means loads based on user action. I'd like navigation bars on PickerView and DetailView. PickerView just needs a cancel button in the top left of its nav bar. DetailView needs the normal navbar back button. I already have PickerView's nav bar wired up through IB and working. I'm not sure what to do with PickerView's nav bar.

PickerView is also loaded from Tab2, who's main view starts as a UINavigationController. PickerView's nav bar works fine in that case.

ViewOne should not have a navigation bar.

Any ideas?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about iphone-sdk