---
title: IOBluetoothServiceBrowserController
framework: IOBluetooth UI
role: symbol
role_heading: Class
platforms: [macOS 10.2+]
path: iobluetoothui/iobluetoothservicebrowsercontroller
---

# IOBluetoothServiceBrowserController

A NSWindowController subclass to display a window to search for and perform SDP queries on bluetooth devices within range.

## Declaration

```swift
class IOBluetoothServiceBrowserController
```

## Overview

Overview This NSWindowController subclass will bring up a generic Bluetooth search and SDP browsing window allowing the user to find devices within range, perform SDP queries on a particular device, and select a SDP service to connect to. The client application can provide NSArrays of valid service UUIDs to allow, and an NSArray of valid device types to allow. The device type filter is not yet implemented.

## Topics

### Initializers

- [init(_:)](iobluetoothui/iobluetoothservicebrowsercontroller/init(_:).md)

### Instance Methods

- [addAllowedUUID(_:)](iobluetoothui/iobluetoothservicebrowsercontroller/addalloweduuid(_:).md)
- [addAllowedUUIDArray(_:)](iobluetoothui/iobluetoothservicebrowsercontroller/addalloweduuidarray(_:).md)
- [beginSheetModal(for:modalDelegate:didEnd:contextInfo:)](iobluetoothui/iobluetoothservicebrowsercontroller/beginsheetmodal(for:modaldelegate:didend:contextinfo:).md)
- [clearAllowedUUIDs()](iobluetoothui/iobluetoothservicebrowsercontroller/clearalloweduuids().md)
- [getDescriptionText()](iobluetoothui/iobluetoothservicebrowsercontroller/getdescriptiontext().md)
- [getOptions()](iobluetoothui/iobluetoothservicebrowsercontroller/getoptions().md)
- [getPrompt()](iobluetoothui/iobluetoothservicebrowsercontroller/getprompt().md)
- [getRef()](iobluetoothui/iobluetoothservicebrowsercontroller/getref().md)
- [getResults()](iobluetoothui/iobluetoothservicebrowsercontroller/getresults().md)
- [getSearchAttributes()](iobluetoothui/iobluetoothservicebrowsercontroller/getsearchattributes().md)
- [getTitle()](iobluetoothui/iobluetoothservicebrowsercontroller/gettitle().md)
- [runModal()](iobluetoothui/iobluetoothservicebrowsercontroller/runmodal().md)
- [setDescriptionText(_:)](iobluetoothui/iobluetoothservicebrowsercontroller/setdescriptiontext(_:).md)
- [setOptions(_:)](iobluetoothui/iobluetoothservicebrowsercontroller/setoptions(_:).md)
- [setPrompt(_:)](iobluetoothui/iobluetoothservicebrowsercontroller/setprompt(_:).md)
- [setSearchAttributes(_:)](iobluetoothui/iobluetoothservicebrowsercontroller/setsearchattributes(_:).md)
- [setTitle(_:)](iobluetoothui/iobluetoothservicebrowsercontroller/settitle(_:).md)

### Type Methods

- [withServiceBrowserControllerRef(_:)](iobluetoothui/iobluetoothservicebrowsercontroller/withservicebrowsercontrollerref(_:).md)

## Relationships

### Inherits From

- [NSWindowController](appkit/nswindowcontroller.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSeguePerforming](appkit/nssegueperforming.md)
- [NSStandardKeyBindingResponding](appkit/nsstandardkeybindingresponding.md)
- [NSTouchBarProvider](appkit/nstouchbarprovider.md)
- [NSUserActivityRestoring](appkit/nsuseractivityrestoring.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Classes

- [IOBluetoothAccessibilityIgnoredImageCell](iobluetoothui/iobluetoothaccessibilityignoredimagecell.md)
- [IOBluetoothAccessibilityIgnoredTextFieldCell](iobluetoothui/iobluetoothaccessibilityignoredtextfieldcell.md)
- [IOBluetoothDeviceSelectorController](iobluetoothui/iobluetoothdeviceselectorcontroller.md)
- [IOBluetoothDeviceSelectorControllerRef](iobluetoothui/iobluetoothdeviceselectorcontrollerref.md)
- [IOBluetoothObjectPushUIController](iobluetoothui/iobluetoothobjectpushuicontroller.md)
- [IOBluetoothPairingController](iobluetoothui/iobluetoothpairingcontroller.md)
- [IOBluetoothPairingControllerRef](iobluetoothui/iobluetoothpairingcontrollerref.md)
- [IOBluetoothPasskeyDisplay](iobluetoothui/iobluetoothpasskeydisplay.md)
- [IOBluetoothServiceBrowserControllerRef](iobluetoothui/iobluetoothservicebrowsercontrollerref.md)
