I am trying to use a UICollectionView to display the view to the left and right of the current view, which is focused on the screen.
This is displayed correctly for me, but horizontal paging is not focused on subsequent views, since by default it is equal to the width of the frame, which is equal to 320.0.
Where does the UICollectionView calculate the default offset value that it uses when clipping to the following pages?
I would like to change this value. Is there a better way to do this? In fact, I'm trying to recreate the experience used in search results for the app store on the iphone.
source share