No Way to Expire Notification Center Alerts
| Originator: | ceruleansparks | ||
| Number: | rdar://13839826 | Date Originated: | 08-May-2013 11:25 AM |
| Status: | Open | Resolved: | |
| Product: | OS X SDK | Product Version: | 10.8.3 |
| Classification: | Enhancement | Reproducible: | Always |
Summary: Currently, if an app is using the Alerts style on Notification Center, there is no way to expire a displayed alert when it is no longer relevant; the _removeDisplayedNotification: API is private and thus verboten for App Store applications. Steps to Reproduce: 1) Have an application which generates alerts on unseen content. 2) Ensure notification style is set to Alert. 3) View the unseen content in the application, without interacting with the alert. Expected Results: From the point of view of the user, the expected result is that the alert vanishes (now that the content is no longer unread), as happens with Apple's Messages.app. Actual Results: Either the alert does not vanish because the app is using only approved API and thus only calls removeDeliveredNotification: (causing the user to complain and log a bug report, pointing to Messages.app as "But, look, it's possible because Messages.app does this.") or the app uses _removeDisplayedNotification: and works as the user expects, but gets bounced from the App Store. (Similarly, if I quit the application, the user expects the alerts to vanish; the same issues apply with _removeAllDisplayedNotifications being private API.) Notes: Please may we have access to a non-private version of _removeDisplayedNotification: and _removeAllDisplayedNotifications? Thanks! :)
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!