I have an iPad App where I\'m using a UICollectionView and each UICollectionViewCell contains just a single UIImage. Currently I\'m displaying per 9 UIImages (3 rows * 3 col
Sorry for my 2 cents question, I have found the solution, very simple.
In my PinchGesture
callback I have just done the following:
void (^animateChangeWidth)() = ^() {
_theFlowLayout.itemSize = cellSize;
};
[UIView transitionWithView:self.theCollectionView
duration:0.1f
options:UIViewAnimationOptionCurveLinear
animations:animateChangeWidth
completion:nil];
All cells of my UICollectionView
are successfully changed and with a nice transition
.