By Rahul Vyas

2009-10-10 09:26:56 8 Comments

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?


@mreyesc 2013-01-28 16:15:31

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

@Xeieshan 2011-07-21 05:17:01

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 site for application class Here is link for runing app in background

@Ed Marty 2009-10-10 14:47:44

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.

@Dave 2009-10-10 10:54:25

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.

@Mobs 2009-10-10 09:52:23

Not possible without jailbreak - iphone sdk apps can only run while on screen.

@Artelius 2009-10-10 09:33:51

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.

Related Questions

Sponsored Content

92 Answered Questions

42 Answered Questions

[SOLVED] Passing Data between View Controllers

27 Answered Questions

[SOLVED] How to change the background color of a UIButton while it's highlighted?

40 Answered Questions

[SOLVED] How can I develop for iPhone using a Windows development machine?

  • 2008-08-22 13:35:01
  • ryan
  • 1096603 View
  • 1151 Score
  • 40 Answer
  • Tags:   ios iphone windows

7 Answered Questions

[SOLVED] iOS: Keep application running in background

14 Answered Questions

[SOLVED] How to run Node.js as a background process and never die?

6 Answered Questions

5 Answered Questions

15 Answered Questions

2 Answered Questions

[SOLVED] How to run the timer in background of the application?

  • 2012-10-16 14:12:51
  • Mani
  • 6186 View
  • 4 Score
  • 2 Answer
  • Tags:   iphone

Sponsored Content