In my iPhone app, I have a requirement to present a new UIViewController on viewWillAppear event of a different UIViewController based on the condition.
Actually I am trying to check whether user has logged in or not. I am trying something similar to what is present in eBay’s iPhone app. How can I do that?
I got the answer. We cannot present a View on
-(void)viewWillAppear:(BOOL)animatedof a different viewController.We have to add code for presenting a View on
-(void)viewDidAppear:(BOOL)animatedmethod.