I want to implement uilocalnotification
in my app. but the problem is that it is not firing at the exact time. it is firing after 30 - 40 secs from the given firing time.
Is there something I am missing or this is a common think in UILocalNotification
.
Thanks
UILocalNotification is designed for things that are happening far in the future so an error of 30 seconds would be OK (i.e. if I had a meeting at 15:00 then telling me at 15:00:30 wouldn't be a problem :)
If you want more accuracy than that you will need to keep your app running and use an NSTimer.