<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "IOBluetooth",
  "identifier" : "/documentation/IOBluetooth/IOBluetoothDevice/nameOrAddress",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "IOBluetooth"
    ],
    "preciseIdentifier" : "c:objc(cs)IOBluetoothDevice(py)nameOrAddress"
  },
  "title" : "nameOrAddress"
}
-->

# nameOrAddress

Get the human readable name of the remote device. If the name is not present, it will return a string containing the device’s address.

```
var nameOrAddress: String! { get }
```

## Discussion

If a remote name request has been successfully completed, the device name will be returned. If not, a string containg the device address in the format of “XX-XX-XX-XX-XX-XX” will be returned.

## See Also

[`-  getNameOrAddress`](/documentation/IOBluetooth/IOBluetoothDevice/getNameOrAddress)

Get the human readable name of the remote device. If the name is not present, it will return a string containing the device’s address.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)