iOS 11 new notification center removes all deliver

2019-07-16 06:16发布

问题:

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.