i want to implement auto lock for a specific idle time interval.
How can i increase iphone autolock idle time feature programmatically ?
Thanks
i want to implement auto lock for a specific idle time interval.
How can i increase iphone autolock idle time feature programmatically ?
Thanks
You can't increase or decrease the autolock idle time feature, it is controlled by the user from the settings menu. However you can enable or disable it by using the following code;
[[UIApplication sharedApplication] setIdleTimerDisabled:YES];