Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Returns the app’s authorization status for using location services.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CoreLocation | 9.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
none
Returns status or error.
notDetermined | The user has not yet made a choice regarding whether this app can use location services. |
restricted | This app is not authorized to use location services. |
denied | The user explicitly denied the use of location services for this app or location services are currently disabled in Settings. |
authorizedAlways | This app is authorized to start location services at any time. |
authorizedWhenInUse | This app is authorized to start most location services while running in the foreground. |
This function checks for a license.
Created 17th February 2019, last changed 17th February 2019