Tutorial :Iphone Standbymode problem



Question:

I want to show an alertview for user ,When iphone goes to standby mode or power save mode... Is there any delegate function ,Can we used?

Can anyone help me?

Thanks in advance...........


Solution:1

You can try using the UIApplication delegate method

- (void)applicationWillResignActive:(UIApplication *)application  

It is called when the application transitions from an active state to an inactive state.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »