M
M
max_sokolov2014-04-03 12:12:39
iOS
max_sokolov, 2014-04-03 12:12:39

How to make padding between cells in UICollectionView with pagination and cell size in full screen?

Hey guys.
There is a UICollectionView with pagingEnabled hosted as the Photos app on the iPhone (when viewing large photos). A simple example.
Is it possible to organize indents between cells if the cell size is equal to the screen size (the indents are visible while paging)? Using minimumInteritemSpacing, minimumLineSpacing, sectionInset UICollectionViewFlowLayout can set padding, but then paging does not work correctly. I also tried to make a custom UICollectionViewFlowLayout.
Has anyone encountered the problem of indenting between cells in full screen?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mibori, 2014-04-19
@mibori

Consider using UIPageViewController

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question