Class

CABTMIDICentralViewController

A CABTMIDICentralViewController object is a view controller that presents a user interface that displays nearby Bluetooth-based MIDI peripherals. The user can select one of those peripherals and pair it with their IOS device.

Overview

To let the user search for nearby MIDI peripherals, create a new CABTMIDICentralViewController object and then either present it modally or push it onto a UINavigationController view controller. No other configuration of the object is necessary. Once the user interface is visible, the iOS device finds nearby peripherals and displays them to the user. If the user selects a peripheral, it is automatically paired with this iOS device. The CABTMIDICentralViewController object manages its own user interface and is dismissed automatically.

Once connected, the peripheral appears as a MIDI device, just like any other connected MIDI device. MIDI commands sent to the peripheral are automatically played. For more information, see Core MIDI.