[UIApplication sharedApplication].idleTimerDisabled=YES 转载于:https://www.cnblogs.com/mtfh/archive/2013/04/17/3026596.html