如何在iphone的后台运行我的应用程序? [英] how to run my application in background in iphone?

查看:137
本文介绍了如何在iphone的后台运行我的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

即使app没有运行,我想在后台运行我的计时器。因为我希望在一段时间间隔后得到用户的gps坐标。这样做的方法是什么?

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?

推荐答案

我不认为在iPhone编程范例中允许这样做。操作系统能够运行后台任务,但不允许普通iPhone应用程序启动此类操作。

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.

这篇关于如何在iphone的后台运行我的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆