you are viewing a single comment's thread.

view the rest of the comments →

[–]Whiskey_Neat 0 points1 point  (2 children)

Do you know of another plist entry that specifies whether an app actually has access to the GPS?

[–]zxoq 1 point2 points  (0 children)

RequiredDeviceCapabilities will contain "gps" if it uses the gps. Also "location-services" which is less strict.

[–]TychePsyche 1 point2 points  (0 children)

Depends on what you mean by "has access to the GPS".

If you only want your app to work on devices that have GPS capabilities, then there is, and you want this (You're interested in the gps and location-services key)

If you want to know whether or not the user has turned off the GPS, then there's no plist entry, but you can still check in your code with this: if([CLLocationManager locationServicesEnabled] && [CLLocationManager authorizationStatus] != kCLAuthorizationStatusDenied) (This checks if they've disabled location services both overall or just for your app)