Instance Property


The media types that media item picker presents.


var mediaTypes: MPMediaType { get }


The available media types are listed in the MPMediaType enumeration.

See Also

Using a Media Item Picker

var allowsPickingMultipleItems: Bool

A Boolean value specifying the default selection behavior for a media item picker.

var showsCloudItems: Bool

A Boolean value specifying whether to display iCloud Media Library items for a media picker.

var prompt: String?

A prompt, for the user, that appears above the navigation bar buttons.

var showsItemsWithProtectedAssets: Bool

A Boolean value specifying if protect assets are displayed.