i have tabbarcontroller 5 tabs third tab navigation controller tableviewcontroller root view controller.
when press on row on table view push detail view (regular view controller) selected row.
the problem first time parentviewcontroller , presentingviewcontroller properties (in details page) set, other consecutive both properties set nil.
edit created single tab application navigation controller same 1 in picture did not disable auto layout in storyboard, every time parentviewcontroller set correctly.
i believe bug if disabled auto layout.
you neither creating child view controller, nor presenting modal.
(pushing detail view controller onto navigation controller's stack kind of adding child, navigation controllers predate parent/child view controller mechanism, don't use it.)
what need check navigationcontroller property of detail view controller. should non-nil if pushed onto navigation controller stack.
Comments
Post a Comment