xcode - Always Show the NSUserNotification -


i have nsusernotification showing document when within app happens. there way show notification when app frontmost app (i.e., show it)?

(it show if i'm in other app)

here's answer info need.

notifications displayed when application isn't key application. if want notifications display regardless of if application key or not, you'll need specify delegate nsusernotificationcenter , override delegate method usernotificationcenter:shouldpresentnotification: returns yes.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -