---
title: "headphoneMotionManagerDidDisconnect(_:)"
framework: coremotion
role: symbol
role_heading: Instance Method
path: "coremotion/cmheadphonemotionmanagerdelegate/headphonemotionmanagerdiddisconnect(_:)"
---

# headphoneMotionManagerDidDisconnect(_:)

Performs a callback to the delegate after you disconnect headphones.

## Declaration

```swift
optional func headphoneMotionManagerDidDisconnect(_ manager: CMHeadphoneMotionManager)
```

## Parameters

- `manager`: The manager for the disconnected headphones.

## See Also

### Connecting and Disconnecting Headphones

- [headphoneMotionManagerDidConnect(_:)](coremotion/cmheadphonemotionmanagerdelegate/headphonemotionmanagerdidconnect(_:).md)
- [CMHeadphoneMotionManager.DeviceMotionHandler](coremotion/cmheadphonemotionmanager/devicemotionhandler.md)
