---
title: updateCurrentPageDisplay()
framework: uikit
role: symbol
role_heading: Instance Method
path: uikit/uipagecontrol/updatecurrentpagedisplay()
---

# updateCurrentPageDisplay()

Updates the page indicator to the current page.

## Declaration

```swift
func updateCurrentPageDisplay()
```

## Discussion

Discussion This method updates the page indicator so that the current page (the white dot) matches the value returned from currentPage. The class ignores this method if the value of defersCurrentPageDisplay is false. Setting the currentPage value directly updates the indicator immediately.

## See Also

### Managing pages

- [currentPage](uikit/uipagecontrol/currentpage.md)
- [numberOfPages](uikit/uipagecontrol/numberofpages.md)
- [hidesForSinglePage](uikit/uipagecontrol/hidesforsinglepage.md)
- [defersCurrentPageDisplay](uikit/uipagecontrol/deferscurrentpagedisplay.md)
