A CABTMIDILocalPeripheralViewController object is a view controller that advertises the iOS device as a Bluetooth-based MIDI peripheral.


class CABTMIDILocalPeripheralViewController : UIViewController


To advertise the iOS device as a Bluetooth MIDI peripheral, create a new CABTMIDILocalPeripheralViewController object and then either present it modally or push it onto aUINavigationController 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 CABTMIDICentralViewController object. The CABTMIDILocalPeripheralViewController 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.