Actually, Working fine for default System .
Total dataSource count is 7 items
When I just changed to the UIEdgeInsets
to left for insetForSectionAtIndex
.
UIEdgeInsets
works fine but Visible area of the CollectionView equally centralised, Missing item at rightSide corner ..
- (UIEdgeInsets)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout insetForSectionAtIndex:(NSInteger)section{
return UIEdgeInsetsMake(0,192, 0, 0);
}
BUT, when I changed it to the Right works fine for right alignment,
- (UIEdgeInsets)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout insetForSectionAtIndex:(NSInteger)section{
return UIEdgeInsetsMake(0,0, 0,192);
}
I hope that this is the simple question. but I couldn't get the solution .
Even I've been played with the UIContentInsets
&& Spacing
as well, but no luck