开发者

which delegate method will call while clicking device close button

On clicking device close button. Which method will call.

I launch the application and navig开发者_如何学Goated to other view controller. i displaying popOverViewController and closing the application. again relaunching application. its redirecting to home screen and displaying popOverviewController.

But I want to know when clicking the device close button which method will call?

So i can dismiss my popoverviewcontroller there.


Check the UIApplicationDelegate Protocol Reference. Probably you need - (void)applicationWillResignActive:(UIApplication *)application.

Be sure to check the docs for your view controller's viewWillDisappear etc also.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜