On Nov 24, 2010, at 2:31 PM, Rainer Standke wrote:

> Hello,
> 
> wondering if there is a way to detect whether the location services are 
> enabled for the app. I am not after the global enabledness, but after the 
> enabledness of my app.
> 
> I imagine the OS stores this information somewhere, but can we get (read) 
> access to that programmatically?
> 

CLAuthorizationStatus status = [CLLocationManager authorizationStatus];


Glenn Andreas                      [email protected] 
The most merciful thing in the world ... is the inability of the human mind to 
correlate all its contents - HPL

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to