---
title: "withServiceBrowserControllerRef(_:)"
framework: IOBluetooth UI
role: symbol
role_heading: Type Method
platforms: [macOS 10.2+]
path: "iobluetoothui/iobluetoothservicebrowsercontroller/withservicebrowsercontrollerref(_:)"
---

# withServiceBrowserControllerRef(_:)

Method call to convert an IOBluetoothServiceBrowserControllerRef into an IOBluetoothServiceBrowserController *.

## Declaration

```swift
class func withServiceBrowserControllerRef(_ serviceBrowserControllerRef: IOBluetoothServiceBrowserControllerRef!) -> IOBluetoothServiceBrowserController!
```

## Parameters

- `serviceBrowserControllerRef`: IOBluetoothServiceBrowserControllerRef for which an IOBluetoothServiceBrowserController * is desired.

## Return Value

Return Value Returns the IOBluetoothServiceBrowserController * for the given IOBluetoothServiceBrowserControllerRef.
