简体   繁体   中英

Send notification when iPhone is turned on or off

当按下电源按钮“打开”时,是否可以发送通知;如果按下电源按钮“关闭”,则可以向服务器发送消息?

No, this is not possible. You can detect your app is going to background or to foreground and more but not this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM