一行代码让App运行时iPhone不会进入锁屏待机状态 alex09 · 2011-10-06 19:53 · 移动开发 · Markdown 如果你不希望应用运行时 iPhone 进入锁屏待机状态,加入下面这行代码即可 setIdleTimerDisabled:YES];