Any chance?
I want to know if it is s开发者_C百科et from "1 - 5 minutes" or set to "never".
Thank you!
Apple won't let you directly access system settings like that. If you are trying to prevent the screen from locking, you can always do something like this:
[[UIApplication sharedApplication] setIdleTimerDisabled:YES];
As far as I know, that is the only thing that you can do to interact with the auto-lock.
精彩评论