Re: Notification Center
Re: Notification Center
- Subject: Re: Notification Center
- From: Kyle Sluder <email@hidden>
- Date: Tue, 27 May 2014 13:40:50 -0400
> On May 27, 2014, at 1:20 PM, 2551 <email@hidden> wrote:
>
> Moreover, the pair that don't work DO show in the Notification Center sidebar/panel, so I know the code is good, but for reasons I can't get to the bottom of, the banners just don't show. Why would some show but others not?
Notification Center uses certain heuristics to determine whether to show a balloon for each notification it delivers. (One of the criteria is whether the app sending the notification is currently frontmost.)
If you want to override Notification Center’s heuristics, set a delegate on the shared NSUserNotificationCenter and implement -userNotificationCenter:shouldPresentNotification:.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden