Contents

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 nil to reset the image to Preferredindicatorimage.

  • page:

    The index of the page. A value that’s greater than or equal to 0 and less than Numberofpages.

See Also

Managing the indicator images