Re: How to prevent app activation on NSUserNotification action

2015-02-26 Thread Alex Kac
Yes, I understand how notifications work. Since Apple’s calendar and Reminder apps don’t launch when you hit snooze, I was hoping to do the same for us. My guess was that their notifications were being created by a background process so when you hit snooze, its not calling the actual Reminders/C

Re: How to prevent app activation on NSUserNotification action

2015-02-26 Thread Jens Alfke
> On Feb 26, 2015, at 6:11 PM, Alex Kac wrote: > > 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? I don’t think you can. Activating the app when the user cli

How to prevent app activation on NSUserNotification action

2015-02-26 Thread Alex Kac
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 meth