Can it possible to run a thread in iOS application that is running on background to send location when push notification is received?
Share
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.
From Apple Push docs:
http://developer.apple.com/library/IOs/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/WhatAreRemoteNotif/WhatAreRemoteNotif.html
When the app is running in the foreground is the only time it can respond directly to a push notification. The OS is handling the push, displaying it, and queuing it for later user action.
iOS applications can’t continuously run in the background, only for a few minutes after the app is closed (to finish a task if memory allows, for something like uploading a photo).