//常亮
[[UIApplication sharedApplication] setIdleTimerDisabled:YES];
//黑屏
[[UIApplication sharedApplication] setIdleTimerDisabled:NO];
注:不喜勿喷!!!
//常亮
[[UIApplication sharedApplication] setIdleTimerDisabled:YES];
//黑屏
[[UIApplication sharedApplication] setIdleTimerDisabled:NO];
注:不喜勿喷!!!
本文标题: iOS 使屏幕常亮不黑屏
本文链接:https://www.haomeiwen.com/subject/cqjhkxtx.html
网友评论