Initializer

init(items:)

Initializes a media item collection with an array of media items.

Declaration

init(items: [MPMediaItem])

Parameters

items

The array of items you are assigning to the media item collection.

Return Value

The newly created media item collection.