Instance Method

initWithMediaTypes:

Initializes a media item picker for specified media types.

Declaration

- (instancetype)initWithMediaTypes:(MPMediaType)mediaTypes;

Parameters

mediaTypes

A set representing the media types for the media item picker. See the MPMediaType enumeration.

Return Value

A new media item picker.

See Also

Initializing a Media Item Picker

- init

Initializes a media item picker for all media types.