-
Notifications
You must be signed in to change notification settings - Fork 95
Adding Audio to UIBackgroundModes
Andrew Madsen edited this page Apr 7, 2015
·
1 revision
On iOS, MIKMIDI uses some CoreMIDI functions that require that your app specifies the audio key in its UIBackgroudModes. This guide explains how to configure this in your app. This guide was written for Xcode 6.2 on April 7, 2015. The procedure may have changed somewhat in later versions of Xcode.
- First, open your app's Info.plist in Xcode.
- Check for a row called "Required Background Modes", or "UIBackgroundModes". If this already exists, skip to step 5.
- Right-click and choose "Add Row"
- For the key, choose "Required Background Modes", or type "UIBackgroundModes" (without the quotes).
- Expand the row, and add an item whose value is "audio" (without the quotes). Alternatively, you can use the dropdown to select "App plays audio or streams audio/video using AirPlay".
- Save Info.plist