无需手动运行应用程序的 iPhone 用户位置

发布于 2024-09-18 06:16:14 字数 161 浏览 6 评论 0原文

我需要使用谷歌地图读取 iPhone 用户的位置,但我不希望用户必须运行我的应用程序才能执行此操作。它不一定需要不断跟踪,但我可能想每 10 或 20 分钟检查一次用户位置。

理想情况下,用户可以关闭或打开此功能,但最重要的部分是我不想运行该应用程序才能检查用户位置。这可能吗?你会怎样做呢?

I need to read the iPhone users location using google maps, but I don't want the user to have to run my app to do so. It doesn't necessarily need to be tracked constantly, but I might want to check the user location every 10 or 20 minutes.

Ideally this feature could be turned off or on by the user, but the most important part is that I don't want to have to run the app in order for it to check the user location. Is this possible? How would you go about doing this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

冰雪之触 2024-09-25 06:16:14

对于 iOS 4 多任务应用程序,您需要阅读 本文档介绍在后台接收位置事件。用户需要运行您的应用程序才能开始跟踪过程。

For an iOS 4 multitasking app, you want to read this document on Receiving Location Events in the Background. The user will need to run your app to start the tracking process.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文