开发者

Keep timers running in background Apps without location services

Is the开发者_高级运维re a way to keep timers running when an App enters background mode without location services running?

If I have a timer running in the App with location services on and enter the background then it keeps running. However calling stopUpdatingLocation also stops the timer. I would like the timer to be able to call startUpdatingLocation at some point in the furture but as it not being run it can't do this.

Any information on how multi-tasking works with location services would be helpful.


You should probably figure out when (at what time) the timer would call startUpdatingLocation and add a UILocalNotification at that time.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜