Hi, I can't get why I need to create a background service when I don't need it to schedule local notifications? I'm building something like calendar application and when adding new event I want to schedule notification for it if Alert parameter is set to something that is not Never.
I tried to use scheduleLocalNotification, but Xcode throws an error EXC_BAD_ACCES.
Oops, I think I got it!
As far as I understand it is because I'm calling scheduleLocalNotification at the main application thread which is used to handle user interface only. If it is so, how can I call scheduleLocalNotification from background service on calendar event save method, because seems to me that event fired from main thread can't be intercepted in another one, I've tried.
Any help, please.
Thanks, Dima.
Your Answer
Think you can help? Login to answer this question!