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?
Go to Settings > Privacy, then select Location Services. Select an app, then turn Precise Location on or off.
You can turn Location Services on or off at Settings > Privacy > Location Services. You can turn Location Services on either during the Setup Assistant process or later through the Location Services setting. You can individually control which apps and system services have access to Location Services data.
From the Apple menu , choose System Preferences, click Security & Privacy, then click Privacy. Make sure that Enable Location Services is selected. If the lock in the lower-left corner is closed, click it, then enter your user name and password. Select the checkbox next to Maps.
For iOS 11, there's a new key NSLocationAlwaysAndWhenInUseUsageDescription
. Add this key to Info.plist
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With