你的位置:首页 > 软件开发 > 操作系统 > IOS监听屏幕状态

IOS监听屏幕状态

发布时间:2016-01-26 17:00:07
一、定义两个宏 //锁屏通知#define NotificationOff CFSTR("com.apple.springboard.lockcomplete") //解锁通知#define NotificationOn CFSTR(&qu ...

一、定义两个宏

 

//锁屏通知

#define NotificationOff CFSTR("com.apple.springboard.lockcomplete")

 

//解锁通知

#define NotificationOn CFSTR("com.apple.springboard.hasBlankedScreen")


原标题:IOS监听屏幕状态

关键词:IOS

IOS
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。