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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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