I have a UICollectionView(One Row, Vertical align) with a UIPageControl associate with it.
The UIPageControl will have number of dots as the the number of items in my collection view.
I want to change/scroll the position of the collectionView when a dot is pressed. Moreover, I want change the selected dot according to the scrolling of the collection view.
Any idea about some kind of algorithm for the scrollViewDidScroll
method too accomplish that?
Thanks in advance