0

I have a login screen UIViewController and when the login button is clicked i want it to open the tab bar controller, i'm using performseguewithidentifier i created a push relationship with the storyboard, but when i do call performseguewithidentifier the tab bar does not display instead the screen is still the login screen, does anyone know what i might be doing wrong?

4

1 回答 1

1

Check and make sure your Segue Style is "Modal" and not "Push." If you chose Push, it will not work unless you also have a Navigation controller.

于 2012-06-26T05:57:27.190 回答