只需要一个语句: application.idleTimerDisabled = YES; 注意,这条语句不能滥用。 转载于:https://www.cnblogs.com/vinceoniphone/archive/2010/09/06/1818890.html