I would like to add app explanation for location service usage in setting like below image. Does anyone have idea how to do this? Thanks!
To add location services to your app, you use CLLocationManager, implement its delegate, and decide the authorization mode your app requires. When your app runs, it should check if the device supports location services, configure and start the desired location services, and request authorization to receive the user’s location.
Sometimes we overlook the obvious. An app will only show in "Location Services" when it will request for the user location. Those apps which ask for Settings first befor asking for location will not appear in "Location Services". So its a developer bug, user can not do anything.
How to turn Location Services on or off for specific apps Go to Settings > Privacy > Location Services. Make sure that Location Services is on. Scroll down to find the app. Tap the app and select an option: Never: Prevents access to Location Services information.
In order to enable Location Services in Windows 11, first, click or tap the Start button on your desktop and then on the Settings app. Alternatively, you can press Win + I on your keyboard. TIP: For more on how to open the Settings app, read these 17 ways to open Settings in Windows 11.
You can add an explanation in Info.plist in your Xcode project.
<key>NSLocationAlwaysUsageDescription</key>
<string>The applicaiton requires location services to workss</string>
see the below image
see the result below
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