ios – 如何在iPhone上检测屏幕锁定/解锁事件?

如何在iPhone上检测屏幕锁定/解锁事件?当用户解锁时,我想从我的iPhone应用程序显示通知警报. (就像广播接收器在 Android中的屏幕解锁一样)

解决方法

Actually I want the if I exit the application and lock the iPhone,
and after some time I have unlock the iPhone,then exit Applications
show the notifications or Alert the Start-up the Applications.

你不能在iPhone上这样做.

以上是来客网为你收集整理的ios – 如何在iPhone上检测屏幕锁定/解锁事件?全部内容,希望文章能够帮你解决ios – 如何在iPhone上检测屏幕锁定/解锁事件?所遇到的程序开发问题。

如果觉得来客网网站内容还不错,欢迎将来客网网站推荐给程序员好友。