---
title: "setTitle(_:)"
framework: IOBluetooth UI
role: symbol
role_heading: Instance Method
platforms: [macOS 10.2+]
path: "iobluetoothui/iobluetoothpairingcontroller/settitle(_:)"
---

# setTitle(_:)

Sets the title of the panel when not run as a sheet.

## Declaration

```swift
func setTitle(_ windowTitle: String!)
```

## Parameters

- `windowTitle`: Title of the device selector panel.

## Discussion

Discussion The panel title should be localized for best user experience. NOTE: This method is only available in macOS 10.2.4 (Bluetooth v1.1) or later.

## See Also

### Instance Methods

- [addAllowedUUID(_:)](iobluetoothui/iobluetoothpairingcontroller/addalloweduuid(_:).md)
- [addAllowedUUIDArray(_:)](iobluetoothui/iobluetoothpairingcontroller/addalloweduuidarray(_:).md)
- [clearAllowedUUIDs()](iobluetoothui/iobluetoothpairingcontroller/clearalloweduuids().md)
- [getDescriptionText()](iobluetoothui/iobluetoothpairingcontroller/getdescriptiontext().md)
- [getOptions()](iobluetoothui/iobluetoothpairingcontroller/getoptions().md)
- [getPrompt()](iobluetoothui/iobluetoothpairingcontroller/getprompt().md)
- [getResults()](iobluetoothui/iobluetoothpairingcontroller/getresults().md)
- [getSearchAttributes()](iobluetoothui/iobluetoothpairingcontroller/getsearchattributes().md)
- [getTitle()](iobluetoothui/iobluetoothpairingcontroller/gettitle().md)
- [runModal()](iobluetoothui/iobluetoothpairingcontroller/runmodal().md)
- [setDescriptionText(_:)](iobluetoothui/iobluetoothpairingcontroller/setdescriptiontext(_:).md)
- [setOptions(_:)](iobluetoothui/iobluetoothpairingcontroller/setoptions(_:).md)
- [setPrompt(_:)](iobluetoothui/iobluetoothpairingcontroller/setprompt(_:).md)
- [setSearchAttributes(_:)](iobluetoothui/iobluetoothpairingcontroller/setsearchattributes(_:).md)
