currentPreviewItemIndex
The index within the preview item navigation list of the item displaying in the Quick Look preview controller.
Declaration
var currentPreviewItemIndex: Int { get set }Discussion
You can change which item the preview controller displays, among those in a navigation list, by setting this property’s value. If the preview controller isn’t displaying an item, this property’s value is NSNotFound.