Actionable Notification crashes phone if no title is set
| Originator: | uberjason | ||
| Number: | rdar://22137500 | Date Originated: | 08/04/15 |
| Status: | Closed as duplicate of 21332532 | Resolved: | |
| Product: | iOS | Product Version: | 8.4 |
| Classification: | Reproducible: | Yes |
Summary: In iOS 8, if a notification (UILocalNotification or UIRemoteNotification) is received where one of the notification actions does not have a title set, swiping left on the notification from the lock screen or notification center to reveal the actions will crash the phone instead. A sample project showing the problem for local notifications is available at: https://github.com/UberJason/NotificationCrash In this project, two actionable notifications have been set up, but one action does not have a title set. This causes the crash. Steps to Reproduce: 1. Download my sample project 2. Run app 3. Tap button to fire UILocalNotification 4. Lock phone 5. When UILocalNotification appears in 1 minute, swipe left to reveal actions (which crashes the phone instead of revealing actions) Expected Results: The action lacking the title should either be blank, or not be displayed. Actual Results: The phone crashes to the black Apple logo screen and reboots. Version: iOS 8.4 (12H143) Notes: Configuration: Verified on iPhone 5S and iPhone 6
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!