I am using UICollectionView to populate almost 30 cells.
In portrait mode on iPhone there is only one column i.e. one cell lauout & in landscape mode there is two columns i.e. two cells horizontally layout at given point of time.
Scrolling is vertical.
But when I am middle of the scroll & then I rotate to landscape mode, Scroll position get sets to end of the screen.
How to fix that?
I searched the Google but did not got correct answer.