CABTMIDILocal object is a view controller that advertises the iOS device as a Bluetooth-based MIDI peripheral.
- iOS 8.0+
- Mac Catalyst 13.0+Beta
- Core Audio Kit
To advertise the iOS device as a Bluetooth MIDI peripheral, create a new
CABTMIDILocal 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 displayed, the iOS device is discoverable by another device looking for Bluetooth MIDI peripherals, such as an iOS device displaying a
CABTMIDICentral object. The
CABTMIDILocal 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.