---
title: runModal()
framework: IOBluetooth UI
role: symbol
role_heading: Instance Method
platforms: [macOS 10.2+]
path: iobluetoothui/iobluetoothobjectpushuicontroller/runmodal()
---

# runModal()

Runs the transfer UI panel in a modal session

## Declaration

```swift
func runModal()
```

## Discussion

Discussion Returns when the modal session has ended. This object will call back over the delegate method (above) when the transfer is complete. Users should release the object then. If no delegate is set the object will release itself.

## See Also

### Instance Methods

- [beginSheetModal(for:modalDelegate:didEnd:contextInfo:)](iobluetoothui/iobluetoothobjectpushuicontroller/beginsheetmodal(for:modaldelegate:didend:contextinfo:).md)
- [getDevice()](iobluetoothui/iobluetoothobjectpushuicontroller/getdevice().md)
- [getTitle()](iobluetoothui/iobluetoothobjectpushuicontroller/gettitle().md)
- [isTransferInProgress()](iobluetoothui/iobluetoothobjectpushuicontroller/istransferinprogress().md)
- [runPanel()](iobluetoothui/iobluetoothobjectpushuicontroller/runpanel().md)
- [setIconImage(_:)](iobluetoothui/iobluetoothobjectpushuicontroller/seticonimage(_:).md)
- [setTitle(_:)](iobluetoothui/iobluetoothobjectpushuicontroller/settitle(_:).md)
- [stop()](iobluetoothui/iobluetoothobjectpushuicontroller/stop().md)
