开发者

Presenting view from app delegate

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];

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜