---
title: "locationManager(_:didChangeAuthorization:)"
framework: corelocation
role: symbol
role_heading: Instance Method
path: "corelocation/cllocationmanagerdelegate/locationmanager(_:didchangeauthorization:)"
---

# locationManager(_:didChangeAuthorization:)

Tells the delegate its authorization status when the app creates the location manager and when the authorization status changes.

## Declaration

```swift
optional func locationManager(_ manager: CLLocationManager, didChangeAuthorization status: CLAuthorizationStatus)
```

## Parameters

- `manager`: The location manager object reporting the event.
- `status`: The authorization status for the app.

## See Also

### Responding to authorization changes

- [locationManagerDidChangeAuthorization(_:)](corelocation/cllocationmanagerdelegate/locationmanagerdidchangeauthorization(_:).md)
