Re: No prompt for Location Services
Re: No prompt for Location Services
- Subject: Re: No prompt for Location Services
- From: Saagar Jha <email@hidden>
- Date: Tue, 14 Feb 2017 10:37:46 -0800
You may have already done this, but you’ll need to call CLLocationManager’s requestAlwaysAuthorization() method for the prompt.
Saagar Jha
> On Feb 14, 2017, at 10:01 AM, Laurent Daudelin <email@hidden> wrote:
>
> Adding features to an app under iOS 10 that needs to access the location services. So, I added the “NSLocationWhenInUseUsageDescription” with a description. When checking Privacy -> Location Services, I see my app there with 2 choices: “While using the app” and “Never”. But none is checked. I deleted the app from the device, re-installed but I’m never prompted to allow access to Location Services.
>
> What am I missing?
>
> -Laurent.
> --
> Laurent Daudelin email@hidden <mailto:email@hidden>
> AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ <http://www.nemesys-soft.com/>
> Logiciels Nemesys Software
>
> _______________________________________________
>
> 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
_______________________________________________
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