iOS 11 Location Permission in

Viewed 3588

I have an app that need to use "always" as location update. However, it is found that after I have upgraded my device to iOS11, the app never ask me for permission.

and then when i go to Privacy > Location > the choices of "always" and "when in use" disappeared.

I have checked it is needed to add "Privacy – Location Always Usage Description" in the plist file. I have added, but it is still the same that it cannot track the location.

Anythings i have missed to update my code?

1 Answers

For iOS 11, there's a new key NSLocationAlwaysAndWhenInUseUsageDescription. Add this key to Info.plist.

Related