Instance Method


Initializes a media item picker for specified media types.


- (instancetype)initWithMediaTypes:(MPMediaType)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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software