ios - Navigate between TabViewController and NavigationController -
i have view controller(a) embedded in navigation controller, , i'm doing modal segue view controller (b) within tab view controller, question how can navigate b a, created modal segue b navigation controller in , perform segue i'm getting "receiver has no segue identifier 'mysegue'", if segue straight don't have navigation controller displayed in view anymore, guess due fact never initialized.
can please point me solution?
thanks lot!
when adding segue previous viewcontroller may or may not on navigation stack, don't go controller, instead create new instance of controller pushed on stack, creating loop utilize way much memory. in case, stack have aba controllers, instead a, if segue worked.
what need go in navigation stack, depending on how added controller stack. because used modal segue, means controller has dismiss b controller using dismissviewcontrolleranimated:, show controller 1 time again.
i suggest protocols , delegates pass message 1 time b has finished dismiss it.
ios objective-c iphone
No comments:
Post a Comment