2
我開發了使用蘋果推送通知的iPad應用程序。推送通知傳遞在所有情況下均可正常工作,除非iPad設備被鎖定併發送通知。在這種情況下,它表現得很奇怪,並且當您滑動以解鎖設備而不觸摸警告/橫幅時打開應用程序。它在IOS版本4.3,5.1和也在6.0解鎖iPad時,推送通知提醒打開應用程序
發生在蘋果的文件,他們都提到如下:
iOS Note: If the user unlocks the device shortly after a remote-notification alert is displayed, the operating system automatically triggers the action associated with the alert. (This behavior is consistent with SMS and calendar alerts.) This makes it even more important that actions related to remote notifications do not have destructive consequences. A user should always make decisions that result in the destruction of data in the context of the application that stores the data.
什麼行動警報關聯?
操作系統會自動觸發與警報
相關的行動,還我想了解什麼是在這種情況下默認行爲?
任何幫助表示感謝,並提前感謝。