Initializer

init(mediaTypes:)

Initializes a media item picker for specified media types.

Declaration

init(mediaTypes: MPMediaType)

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

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