Instance Property


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


var allowsPickingMultipleItems: Bool { get set }


When set to true, the media item picker allows the selection of multiple media items. When set to false, only a single media item can be selected. The button for dismissing the picker is labeled “Cancel.” when set to false and "Done." when set to true.

See Also

Using a Media Item Picker

var showsCloudItems: Bool

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

var mediaTypes: MPMediaType

The media types that media item picker presents.

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.