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.
Sets the current media item to the designated media item.
func setCurrentMediaItem(toItemAtIndex index: Int)The location in the playlist array containing the desired media item.