Contents

setCurrentMediaItem(toItemAtIndex:)

Sets the current media item to the designated media item.

Declaration

func setCurrentMediaItem(toItemAtIndex index: Int)

Parameters

  • index:

    The location in the playlist array containing the desired media item.

See Also

Inspecting Media Items