iOS 11 new notification center removes all delivered notifications after user make any action with one of them

偶尔善良 提交于 2019-12-24 02:26:45

问题


I have an issue on iOS 11. All delivered notification automatically removing from notification tray after I select any action for one of them. This happens before my code start handling action. In iOS 10 everything is ok, all delivered notifications stay in delivered and disappear only notification where I proceed some action. My app schedule reminders with custom action, 2 buttons Activate and Stop. User can receive many of them in one day, but its very important to keep already delivered notifications, because most of them is uniq and make different actions. If it is iOS 11 new notification center behavior or known issue, where I can read about this? Thanks a lot for help. Minimum deployment target in my app is iOS10 and I use new UNNotificationRequest for scheduling local notifications.

来源:https://stackoverflow.com/questions/48249056/ios-11-new-notification-center-removes-all-delivered-notifications-after-user-ma

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!