简体   繁体   English

我可以使用重要的位置更改服务来跟踪手机的最新位置吗?

[英]Can i hook into significant location change service so that i can track a Phone latest location?

i would love to build a auto-start with OS app which runs in IOS background(like a daemon) and when the phone changed its location the app send some information(userid,GPS,time......)to a web server immediately, in addition to,i want my app has no icon and users can not easily find it is on running or easily delete it. 我想用OS应用程序构建一个自动启动程序,该应用程序在IOS后台运行(如守护程序),当手机更改位置时,该应用程序会将一些信息(用户ID,GPS,时间......)发送到网络服务器,除了,我还希望我的应用程序没有图标,并且用户不能轻易发现它正在运行或轻易删除它。 so i just wondering if these is some location-change notification i can hook into so that i can perform my code? 所以我只是想知道这些是否是我可以挂接到的一些位置更改通知,以便我可以执行我的代码? anyone give me a good idea? 有人给我一个好主意吗? i dont want put my app on appstore instead of i packaged it in deb,so i can use any private api or other non-official methods.... 我不想将我的应用程序放在appstore上,而不是将其打包在deb中,所以我可以使用任何私有api或其他非官方方法。

You can use CoreLocation native framework.we can access the current location of the user/device dynamically. 您可以使用CoreLocation本机框架。我们可以动态访问用户/设备的当前位置。 follow the link for instructions coreLocation tutorials 按照链接获取说明coreLocation教程

According to Apple's Documents and guidelines, I don't think an app can exist without icon. 根据Apple的文档和指南,我认为没有图标就无法存在一个应用程序。 The SDK doesn't have this feature as well. SDK也没有此功能。 And no private API will be accepted into App Store. 而且,App Store不会接受任何私有API。 However, you can post your project on unofficial AppStores for jailbroken phones. 但是,您可以将项目发布到越狱的非官方AppStore上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 iOS位置-iOS 8/9中的重大位置更改可以启动标准位置服务吗? - iOS Location - Significant Location Change in iOS 8/9 can start standard location service? StartUpdatingLocation与重要更改位置服务 - StartUpdatingLocation Vs significant-change location service 我可以更改设备上的位置以测试用户的位置吗? - Can I change my location on the device to test a user's location? 同时使用标准和重大更改位置服务 - Using both standard and significant-Change Location Service 我如何避免AlAssetLibrary中的位置服务? 我可以使用AlAssetLibrary检索文件而无需使用位置服务吗? - How can i avoid Location service in AlAssetLibrary? Can i retrieve files using AlAssetLibrary without using Location Service? 有关重要位置变更的本地通知 - Local Notification on significant location change 如何在iPhone 4s中更改当前位置? - How can i change the current location in iphone 4s? 我可以在访问 ALAsset 时更改核心位置警报消息吗? - Can I change the Core Location alert message when accessing ALAssets? 如何根据用户位置更改TableViewController数据源 - How can I change TableViewController datasource based on the user location iphone应用程序可以在后台唤醒重要的位置更改吗? - Can iphone app woken in background for significant location change do network activity?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM