Re: iOS location enabled?
Re: iOS location enabled?
- Subject: Re: iOS location enabled?
- From: glenn andreas <email@hidden>
- Date: Wed, 24 Nov 2010 14:50:49 -0600
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@hidden
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@hidden)
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:
This email sent to email@hidden