Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Event for iphone goes to sleep automatically

Tags:

sleep

ios

events

Which Event for iOS gets called when iphone goes into sleep mode AUTOMATICALLY while any iOS app is running ?

like image 638
iOSAppDev Avatar asked Dec 19 '12 14:12

iOSAppDev


People also ask

How do I stop my iPhone from sleeping automatically?

Turn off all sleep schedules and alarmsTap Browse at the bottom right, then tap Sleep. Scroll down to Your Schedule. Tap Full Schedule & Options, then turn off Sleep Schedule (at the top of the screen). You can turn them all on again later.

Why does my iPhone keep going to sleep?

The reason your iPhone's screen keeps dimming and turning off is because of a feature called “Auto-Lock,” which automatically puts the iPhone into a sleep/lock mode after a certain period of time. Two-thirds of the way through the set period, the screen dims to half brightness.


1 Answers

- (void)applicationWillResignActive:(UIApplication *)application
like image 86
Inder Kumar Rathore Avatar answered Oct 30 '22 11:10

Inder Kumar Rathore