slideshowDidChangeCurrentIndex(_:)
Performs custom tasks when the slideshow changes to the item at the specified index.
Declaration
optional func slideshowDidChangeCurrentIndex(_ newIndex: Int)Parameters
- newIndex:
The index of the current item.
Discussion
Image Kit invokes this method when the slideshow changes to the specified item. Implement this method to perform custom tasks at that time.