Private iOS API: Toggle location services programmatically

Use this snippet to toggle location services on your device programmatically.

Snippet:

Required entitlements:

com.apple.locationd.authorizeapplications is required

Download the example entitlement file from here: location.entitlements

Compatibility:

Confirmed working on jailbroken iOS 9.0

 

Leave a Reply

Your email address will not be published. Required fields are marked *


*