CABTMIDICentral 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.
- iOS 8.0+
- Mac Catalyst 13.0+
- Core Audio Kit
To let the user search for nearby MIDI peripherals, create a new
CABTMIDICentral object and then either present it modally or push it onto a
UINavigation 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
CABTMIDICentral 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.