How to prevent app activation on NSUserNotification action
How to prevent app activation on NSUserNotification action
- Subject: How to prevent app activation on NSUserNotification action
- From: Alex Kac <email@hidden>
- Date: Thu, 26 Feb 2015 19:11:05 -0700
If my app is currently hidden and a user notification occurs and the user taps on the action button (in my case "Snooze"); how do I prevent the app from coming to the foreground? If the user hits Snooze I don't want the app to come to the foreground. I put a breakpoint on all my show window methods or what-not, none of them are being called - only the didActivate method of notification.
_______________________________________________
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