У меня есть UICollectionView
со случайными ячейками. Есть ли способ, который позволяет мне центрировать строки?
Это выглядит по умолчанию:
[ x x x x x x ]
[ x x x x x x ]
[ x x ]
Вот как выглядит желаемый макет:
[ x x x x x ]
[ x x x x x ]
[ x x ]