UICollectionViewCell outlet frame change animation
I have a UICollectionView which uses a waterfall style layout to show
different sized cells. The height calculation for each cell works just
fine.
The problem I have is that I have to change the size of two outlets
(UIImage and UILabel) in each cell and I don´t know where to change the
frame size in order prevent the UICollectionView from animating said frame
size change. I tried it to do in the layoutSubviews method of each cell
and in the cellForItemAtIndexPath without results. Every time the
viewcontroller containing the UICollectionView appears the frame change
for the two outlets in each cell is animated.
No comments:
Post a Comment