uicollectionview
UICollectionViewCell Border / Shadow
Just for a bit more implementation: #import <QuartzCore/QuartzCore.h> in your.m Make sure your class implements – (UICollectionViewCell *)collectionView:(UICollectionView *)cv cellForItemAtIndexPath:(NSIndexPath *)indexPath; as this is where the cell is setup. You can then change cell.layer.background (only available once quartz is imported) See below – (UICollectionViewCell *)collectionView:(UICollectionView *)cv cellForItemAtIndexPath:(NSIndexPath *)indexPath { MyCollectionViewCell *cell = [cv dequeueReusableCellWithReuseIdentifier:@”pressieCell” forIndexPath:indexPath]; … Read more
UICollectionView for Springboard like folders
To get around it I would lose the library and cause iOS to move those display elements around without screenshots or other tricks. On the tap, cause the tapped icon to retain its normal appearance while you dim all the others. Find the contents of the collection view from the top to the end of … Read more
UICollectionView estimatedItemSize – last cell is not aligned
I face a similar issue and the problem was solved by giving a proper minimum inter item spacing, using the delegate methods – minimumInteritemSpacingForSectionAt- of UICollectionViewDelegateFlowLayout.
UICollectionView iOS 9 issue on project with RTL languages support
I was in a similar situation and found a solution for this. If you are using swift, add the following snippet to your project, and it will make sure that the bounds.origin always follows leading edge of the collection view. extension UICollectionViewFlowLayout { open override var flipsHorizontallyInOppositeLayoutDirection: Bool { return true } } If you … Read more