• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Notification Center
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Figuring out the file's owner class
  • Next by Date: Black treatment showing when an iOS 7 only application is in the background
  • Previous by thread: unsubscribe
  • Next by thread: Black treatment showing when an iOS 7 only application is in the background
  • Index(es):
    • Date
    • Thread