Search code examples
iphoneiphone-developer-program

Switching from login to tabbased view without stacking both views on application launch


I have currently stacked both the login and tabbased view on applicationDidFinishLaunchingWithOptions method.. how when i use this iphone runs viewDidLoad method in both the clasess. Please help me with a way to add one view at once.. First the login after successful login switch to tab based view.


Solution

  • Let tab based view be your rootViewController, but only if you need a login (in case you save login), present login view as modal view controller