[UIApplication sharedApplication].idleTimerDisabled=YES;// 不自动锁屏 [UIApplication sharedApplication].idleTimerDisabled=NO;// 自动锁屏
时间: 2024-10-02 07:33:10
[UIApplication sharedApplication].idleTimerDisabled=YES;// 不自动锁屏 [UIApplication sharedApplication].idleTimerDisabled=NO;// 自动锁屏