SwiftPages icon indicating copy to clipboard operation
SwiftPages copied to clipboard

get current index

Open ahmedsafadii opened this issue 9 years ago • 1 comments

how i can get the current index of the page ?

ahmedsafadii avatar Feb 20 '16 15:02 ahmedsafadii

currentPage = Int(scrollView.contentOffset.x / scrollView.bounds.size.width)

GabrielAlva avatar Feb 23 '16 01:02 GabrielAlva