iOS 判断设备是否锁屏

此方法只能监测应用在前台的时候的锁屏事件,切到后台再锁屏无法监测。 - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { int notify_...