Which Event for iOS gets called when iphone goes into sleep mode AUTOMATICALLY while any iOS app is running ?
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.
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.
- (void)applicationWillResignActive:(UIApplication *)application
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With