Not registered yet?
Register now! It is easy and done in 1 minute and gives you access to special discounts and much more!
By Rahul Vyas
I want to run my timer in background even when app is not running. Because I want to get gps cordinate of the user after some time interval. What is the method to do this?
I think you are in one of cases you can do background process, take a look in this discusion
Run app for more than 10 minutes in background
May be the link will Help bcz u might have to implement the code in Appdelegate in app run in background method ..
Also consult the developer.apple.com site for application class
Here is link for runing app in background
The Apple Push Notification service is not, in fact, only available to a few developers. It is currently in wide-spread use.
Take a look at this:
The "Registering for remote notifications" section specifies how to register for push notifications. The other end is set up in the iPhone developer portal.
You could contact the people who made this
It only works on jail broke phones, another way it to use push notification from our servers for timed tasks. Why dont you use this, to wake up the app get the GPS then send it back to sleep. Better for batteries too.
Not possible without jailbreak - iphone sdk apps can only run while on screen.
I don't think this is allowed in the iPhone programming paradigm. The operating system is capable of running background tasks but ordinary iPhone apps are not permitted to launch anything like this.