Reputation: 1
I am creating an app with a tab bar. However, when the app starts, I don't want it to display the tab bar. Instead I would like to show a login page. After a successful log in, the tab bar based application should be shown.
Is this possible in code? I did it with Interface Builder.
Upvotes: 0
Views: 58
Reputation: 5499
Modal view controllers is the way you can do what you want. As it is said in the documentation
Modal view controllers are a tool that you have at your disposal for interrupting the current workflow and displaying a new set of views.
Upvotes: 0
Reputation: 11834
Just create a Window-based Application
and create a ViewController with a TabBar that you can show once login is successful.
Upvotes: 1