> On May 27, 2014, at 1:20 PM, 2551 <[email protected]> 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 protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to