currentPage

var currentPage: Int

The index of the currently selected page. This may not be the page which is currently displayed on screen.

To update the scroll position, use scrollToPage or animateScrollToPage.