Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rat10nal

macrumors newbie
Original poster
Jun 28, 2009
1
0
Hello all,

I'm writing an app that has a login screen followed by a tab bar. Much like the Facebook app, I would like the user to enter their credentials on a login view (LoginViewController), and upon successful authentication, shown a tab bar.

So far I have the tab bar and associated view controllers (i.e. 5 tabs with 5 view controllers) and the Login view controller.

What I am not clear on is how to discard the login view and transition to the tab control view after successful authentication. Any suggestions or pointers? Once again, the FB app is a good example of what I'm trying to accomplish, i.e. a login view that upon successful authentication goes away and a tab view is visible.

Thanks kindly
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.