setCurrentPageIndicatorImage(_:forPage:)
Registers an override image for the current page indicator of the specified page.
Declaration
func setCurrentPageIndicatorImage(_ image: UIImage?, forPage page: Int)Parameters
- image:
The image to use instead of the preferred image. Use
nilto reset the image to Preferredcurrentpageindicatorimage. - page:
The index of the page. A value that’s greater than or equal to
0and less than Numberofpages.