A specialized view controller that provides a graphical interface for selecting media items.
- iOS 3.0+
MPMedia object, or media item picker, is a specialized view controller that you employ to provide a graphical interface for selecting media items. To display a media item picker, present it modally on an existing view controller. Presenting an
MPMedia in non-modal mode; for example, pushing a
MPMedia onto an existing
UINavigation stack will cause your app to crash. Media items are described in
To respond to user selections and to dismiss a media item picker, use the