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