Shared navigation controller between subviewcontroller
With IB I have created one tab controller + navigation controller + viewcontroller.
When I am in the first viewcontroller (the one I set into IB), I can add/remove button to the navigation bar and I can easily switch multiple views controller (I use this to change views based on device orientation).
One of this sub viewcontroller should then push another viewcontroller, but it doesn't.
This is the schema (for better explaining):
Tabbar-->Navigationcontroller-->Viewcontroller (handle sub-viewcontrollers based on device orientation: pushviewcontroller works)-->sub Viewcontroller (handle a tableview and its data: pushviewcontroller doesn't work).
How can I fix this?
|