简体   繁体   English

是否有可能从iOS中的其他应用获取设备的最后已知位置

[英]Is it Possible to get last known location of device from other apps in iOS

Im building a location based application, where in i use CLLocation to get users device location. 我建立一个基于位置的应用程序,在这里我使用CLLocation获取用户设备位置。 But my question, Is it possible to get users current/last know location from other apps in device which are already using Location services. 但是我的问题是,是否可以从设备中已经在使用位置服务的其他应用中使用户获得当前/最新的位置信息。 So i can save the battery of iPhone? 这样我可以节省iPhone的电池吗? Just a thought. 只是一个想法。 Not sure security issue? 不确定安全性问题吗? Or is it possible? 还是可能吗?

Thanks in advance 提前致谢

No. Apps are sandboxed. 否。应用程序已沙箱化。 You can not access info from any other app. 您无法从任何其他应用程序访问信息。

One word 一个词

NO 没有

You can't access any info of other apps. 您无法访问其他应用程序的任何信息。

If you want to access any info, you have to jailbreak your iPhone, which Apple never allow. 如果要访问任何信息,则必须越狱iPhone,这是Apple从未允许的。


From Apple, 从苹果公司

Communication Between Apps Follows Specific Pathways 应用之间的通信遵循特定的途径
For security, iOS apps run in a sandbox and have limited interactions with other apps. 为了安全起见,iOS应用程序在沙盒中运行,并且与其他应用程序的交互作用有限。 When you want to communicate with other apps on the system, there are specific ways to do so. 当您想与系统上的其他应用程序通信时,有一些特定的方法可以进行通信。

For more details, take a look at this link

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

相关问题 如何将您的最后一个已知位置保存在iOS设备中? - how to get your last known location saved in iOS devices? 是否可以获取有关其他已安装的iOS应用程序的信息? - Is it possible to get info on other installed iOS apps? ionic cordova应用程序如何从同一设备上的其他应用程序获取共享的URL或文件位置 - how can an ionic cordova app get shared url or file location from other apps on the same device ios:是否可以从应用程序一侧找到具有特定IMEI,RSSI或电话号码的另一台设备的位置? - ios: Is it possible to find the other device ‘s location with specific IMEI, RSSI or phone number from the app side? iOS XCode-可以从SpringBoard隐藏其他应用程序吗? - iOS XCode - Possible to hide OTHER Apps From SpringBoard? 是否可以在IOS中将用户位置与背景中的特定位置保持距离? - Is it possible to get distance from user location to specific location in background in IOS? CLLocationManager的最后一个已知位置 - CLLocationManager last known location 是否可以在 ios 中获取已安装的应用程序 - Is it possible to get installed apps in ios 从其他类iOS获取变量(位置信息) - Get variable (location information) from other class iOS 是否可以仅从UDID获取其他设备信息? - Is it possible to get other device information from just a UDID?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM