---
title: disconnect()
framework: IOBluetooth
role: symbol
role_heading: Instance Method
platforms: [macOS 10.7+]
path: iobluetooth/iobluetoothhandsfree/disconnect()
---

# disconnect()

Disconnect from the device

## Declaration

```swift
func disconnect()
```

## Discussion

Discussion Disconnects from the device, closes the SCO and service level connection if they are connected. Delegate methods will be called once the disconnection is complete.
