当前位置:首页 > 操作系统 > Ios

ios阻止锁屏 --老代码,供参考

// Disable the idle timer [[UIApplication sharedApplication] setIdleTimerDisabled: YES];   
// Or for those who prefer dot syntax: [UIApplication sharedApplication].idleTimerDisabled = YES;

原文:http://www.cnblogs.com/isItOk/p/4875586.html


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!