I am working on a project in which I need to present login page each time the app enters fore ground from 开发者_如何学Cback ground. I wanted to present a model viewcontroller but Model view is not supported.
Is there any other way I can do this?
Register for UIApplicationWillEnterForegroundNotification. Once you get the notification, show your login view controller using [self presentmodelviewcontroller:view animated:YES];
精彩评论