Re: iOS location enabled?
Re: iOS location enabled?
- Subject: Re: iOS location enabled?
- From: Rainer Standke <email@hidden>
- Date: Wed, 24 Nov 2010 17:19:46 -0800
Thanks Glenn,
I was afraid so.
Rainer
On Nov 24, 2010, at 12:50 , glenn andreas wrote:
>
> 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