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