[[UIApplication sharedApplication] setIdleTimerDisabled:YES];
转载于:https://www.cnblogs.com/ThankForYou/archive/2012/08/16/2642337.html
[[UIApplication sharedApplication] setIdleTimerDisabled:YES];
转载于:https://www.cnblogs.com/ThankForYou/archive/2012/08/16/2642337.html