contentItem(at:)
Retrieves the media item at the specified index.
Declaration
func contentItem(at indexPath: IndexPath) -> MPContentItem?Parameters
- indexPath:
The index for the media item to be retrieved.
Return Value
The media item at the indicated index.