Reputation: 329
Im building a location based application, where in i use CLLocation to get users device location. 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? Just a thought. Not sure security issue? Or is it possible?
Thanks in advance
Upvotes: 0
Views: 491
Reputation: 31627
One word
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.
From Apple,
Communication Between Apps Follows Specific Pathways
For security, iOS apps run in a sandbox and have limited interactions with other apps. 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
Upvotes: 0
Reputation: 1370
No. Apps are sandboxed. You can not access info from any other app.
Upvotes: 1