---
title: removeFromFavorites()
framework: IOBluetooth
role: symbol
role_heading: Instance Method
path: iobluetooth/iobluetoothdevice/removefromfavorites()
---

# removeFromFavorites()

Removes the target device from the user’s favorite devices list.

## Declaration

```swift
func removeFromFavorites() -> IOReturn
```

## Return Value

Return Value Returns kIOReturnSuccess if the device was successfully removed from the user’s list of favorite devices.

## Discussion

Discussion NOTE: This method is only available in macOS 10.2.4 (Bluetooth v1.1) or later.
