Perform Push Segue From a Tab View Controller

Posted by user1416492 on Stack Overflow See other posts from Stack Overflow or by user1416492
Published on 2012-05-28T10:32:28Z Indexed on 2012/11/18 23:02 UTC
Read the original article Hit count: 254

Filed under:
|
|

I have a Tab Bar Controller App, the tab bar controller is forked into several "tab" view controller, in one of the view controller I want to redirect the user to an other view controller. I create a segue from that tab view controller to the destination view controller and given it an Identifer. And I call "performSegueWithIdentifier" in "viewDidAppear" to redirect the user.

It works fine when the segue is "Modal", however since I want to retain the tabs, I want to call the segue through "Push". However, once I change the segue to "Push", it is not working anymore (it does not try to go to the destination view controller). The app did not crash on the simulator but just staying on the origin tab view controller.

© Stack Overflow or respective owner

Related posts about ios

Related posts about tabs