---
title: "centralManager(_:didUpdateANCSAuthorizationFor:)"
framework: corebluetooth
role: symbol
role_heading: Instance Method
path: "corebluetooth/cbcentralmanagerdelegate/centralmanager(_:didupdateancsauthorizationfor:)"
---

# centralManager(_:didUpdateANCSAuthorizationFor:)

Tells the delegate the authorization status changed for a ANCS-requiring connected peripheral.

## Declaration

```swift
optional func centralManager(_ central: CBCentralManager, didUpdateANCSAuthorizationFor peripheral: CBPeripheral)
```

## Parameters

- `central`: The central manager providing this information.
- `peripheral`: The doc://com.apple.corebluetooth/documentation/CoreBluetooth/CBPeripheral that caused the event.
