AddMusic

Last Revision:
Version 1.1.1, 2009-10-01
Minor changes.
(Full Revision History)
Build Requirements:
Xcode 3.1 or later, Mac OS X v10.5.6 or later
Runtime Requirements:
iPhone OS 3.0 or later

AddMusic demonstrates basic use of iPod library access, part of the Media Player framework. You use iPod library access to play songs, audio books, and audio podcasts that are synced from a user's desktop iTunes library. This sample uses the Media Player framework's built-in user interface for choosing music. AddMusic also demonstrates how to mix application audio with iPod library audio. The sample includes code for configuring application audio behavior using the AVAudioSession class and Audio Session Services.