The application icon badge will not clear using by local notification

Originator:loiseau
Number:rdar://37067664 Date Originated:1/31/2018
Status:Open Resolved:
Product:iOS Product Version:11
Classification:Bug Reproducible:Always
 
https://github.com/ktakayama/BadgeCheck

Area:
UserNotifications Framework

Summary:
The application icon badge will not clear using by local notification on iOS11.

Steps to Reproduce:
- Please use the attached reproduction project.

Expected Results:
- Icon badge is cleared.

Actual Results:
- The icon badge that was last set remains.

Version / Build:
- Xcode 9.2, iOS 11.2

Other:
- It will works fine if you runs this project on iOS 10.3.
- It will not works if you runs this project on iOS 11.
- It will works fine if you set title property for UNMutableNotificationContent instance. (but I don't want to show notification)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!