Tells the delegate that the authorization status for the application changed.
- iOS 4.2+
- macOS 10.7+
- tvOS 9.0+
- watchOS 2.0+
- Core Location
The location manager object reporting the event.
The new authorization status for the application.
This method is called whenever the application’s ability to use location services changes. Changes can occur because the user allowed or denied the use of location services for your application or for the system as a whole.
If the authorization status is already known when you call the
request method, the location manager does not report the current authorization status to this method. The location manager only reports changes to the authorization status. For example, it calls this method when the status changes from