Мне нужно показать 3 элемента в UICollectionView, с поддержкой paging, как это
но я получаю как это
Я сделал собственный поток, плюс пейджинг включен, но не способен получить то, что мне нужно. Как я могу достичь этого или какой делегат я должен изучить, или направить меня на какую-либо ссылку, откуда я могу получить помощь для этого сценария.
- (void)awakeFromNib
{
self.itemSize = CGSizeMake(480, 626);
self.minimumInteritemSpacing = 112;
self.minimumLineSpacing = 112;
self.scrollDirection = UICollectionViewScrollDirectionHorizontal;
self.sectionInset = UIEdgeInsetsMake(0, 272, 0, 272);
}