Reputation: 8338
I want a timer to keep executing in background even when the application is not active. And depending upon some conditions I want to fire a local push notification. How can I achieve this?
Thanks Pankaj
Upvotes: 0
Views: 127
Reputation: 19869
it seems that is not possible. first, you register the local push notification and its fire date when your app is active and you can not do it when your app is not active. second, when you register a local push notification the iphone os is in charge to fire it and not your app. third, background activity is permitted only for 3 things - music, VOP and navigation, thats all.
if you can explain exactly what you want to achieve we might try to help you in other ways.
hope it will help shani
Upvotes: 1