Mahesh S
Mahesh S

Reputation: 329

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. 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

Answers (2)

Fahim Parkar
Fahim Parkar

Reputation: 31627

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.


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

Richmond Watkins
Richmond Watkins

Reputation: 1370

No. Apps are sandboxed. You can not access info from any other app.

Upvotes: 1

Related Questions