2020-03-10 2020-03-10 本文已影响0人 CodingTom 可以使用 UIApplication 对象的 idleTimerDisabled 属性来实现这个目的。一旦设置为 YES,它会阻止屏幕休眠,从而实现常亮