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