//设置屏幕常亮 [UIApplication sharedApplication].idleTimerDisabled = YES; 转载于:https://www.cnblogs.com/akiha/p/6486968.html