I'm trying to make a UICollectionView
with horizontal scrolling and paging like Facebook's friend request UI. GIFV LINK.
All the requests in this video are from fake profiles, so no worries about privacy.
I don't understand how I make them not full-screen, and still centered. I played around with offset, inset and sizing, but I just get it like this, where the offset grows every scroll.
How do I keep the page
- Less than max width
- Centered
- Showing a hint of the next and previous page
Like Facebook.