0
사실, 기본 시스템에서는 정상적으로 작동합니다.UICollectionViewController UIEdgeInsets 유선 동작
총은 dataSource 수는 난 그냥
UIEdgeInsets
로 변경insetForSectionAtIndex
에 대한을 떠날 때 7 개 항목
입니다. UIEdgeInsets
작품 동등하게 중앙 CollectionView 미세하지만 눈에 보이는 영역, rightSide 코너에서 누락 된 항목 .. 잘 정렬을 위해 잘 작동 내가 오른쪽으로 변경하는 경우
- (UIEdgeInsets)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout insetForSectionAtIndex:(NSInteger)section{
return UIEdgeInsetsMake(0,192, 0, 0);
}
하지만,
- (UIEdgeInsets)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout insetForSectionAtIndex:(NSInteger)section{
return UIEdgeInsetsMake(0,0, 0,192);
}
간단한 질문이되기를 바랍니다. 그러나 나는 해결책을 얻을 수 없었다.
심지어 나는뿐만 아니라UIContentInsets
& &
Spacing
연주되지했지만, 운이