|Examples||Mac & Win||Server||Client||Guides||Statistic||FMM||Blog||Deprecated||Old|
Requests permission to use location services while the app is in the foreground.
|CoreLocation||9.1||✅ Yes||❌ No||❌ No||❌ No||✅ Yes|
Returns OK or error.
DescriptionRequests permission to use location services while the app is in the foreground.
When the current authorization status is notDetermined, this method runs asynchronously and prompts the user to grant permission to the app to use location services. The user prompt contains the text from the NSLocationWhenInUseUsageDescription key in your app’s Info.plist file, and the presence of that key is required when calling this method.
Added macOS support with MBS Plugin 11.1 for macOS 10.15 and newer.
- Version 11.1
This function checks for a license.
Created 17th February 2019, last changed 16th February 2021