---
title: "currentPageIndicatorImage(forPage:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uipagecontrol/currentpageindicatorimage(forpage:)"
---

# currentPageIndicatorImage(forPage:)

Returns the override image for the current page indicator of the specified page.

## Declaration

```swift
func currentPageIndicatorImage(forPage page: Int) -> UIImage?
```

## Parameters

- `page`: The index of the page. A value that’s greater than or equal to 0 and less than doc://com.apple.uikit/documentation/UIKit/UIPageControl/numberOfPages.

## Return Value

Return Value The override image, or nil if you haven’t overidden the image for the specified page number.

## See Also

### Managing the indicator images

- [preferredIndicatorImage](uikit/uipagecontrol/preferredindicatorimage.md)
- [indicatorImage(forPage:)](uikit/uipagecontrol/indicatorimage(forpage:).md)
- [setIndicatorImage(_:forPage:)](uikit/uipagecontrol/setindicatorimage(_:forpage:).md)
- [preferredCurrentPageIndicatorImage](uikit/uipagecontrol/preferredcurrentpageindicatorimage.md)
- [setCurrentPageIndicatorImage(_:forPage:)](uikit/uipagecontrol/setcurrentpageindicatorimage(_:forpage:).md)
