how to run my application in background in iphone?

后端 未结 6 871
-上瘾入骨i
-上瘾入骨i 2020-12-03 12:12

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?

6条回答
  •  甜味超标
    2020-12-03 12:24

    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 http://developer.apple.com/library/ios/#documentation/iphone/conceptual/iphoneosprogrammingguide/BackgroundExecution/BackgroundExecution.html

提交回复
热议问题