[英]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.