Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

kCLAuthorizationStatusRestricted is showing up for one of my apps but not another on the same device

I have an app i'm maintaining which recently stopped reporting users locations. This is happening on many devices where it was previously working. On my device I have determined that the auth status of CLLocationManager is kCLAuthorizationStatusRestricted. This stops the app from prompting for user permission.

I have no restrictions set around core locations and another app of mine running the exact same helper class to manage location works fine on the same device. It prompts for user permission as it should.

Does anyone know anything that would cause kCLAuthorizationStatusRestricted to show up besides restrictions?

like image 648
Dave.B Avatar asked Dec 20 '12 18:12

Dave.B


People also ask

How do I allow an app on my iPad?

To do this, open the Settings app and scroll down to the list of apps at the very bottom. Tap an app and you'll see the permissions it wants. You can enable or disable individual permissions for specific apps from here.


1 Answers

In the Settings app (in iOS 6) look under General, then Restrictions. If Restrictions is enabled, then scroll way down to Privacy section. This is where Restrictions are set for Location Services.

This is a different set of Privacy restrictions from the Privacy section that is on the first screen that can be locked with a passcode.

like image 70
progrmr Avatar answered Oct 12 '22 08:10

progrmr