开发者

which delegate method will call while clicking device close button

开发者 https://www.devze.com 2023-04-05 23:52 出处:网络
On clicking device close button.Which method will call. I launch the application and navig开发者_如何学Goated to other view controller.i displaying

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

精彩评论

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