I have UIScrollView
with horizontal scrolling direction and dynamic height (user can change the height when finger moved). I need to make cells able to resize itself when UIScrollView
change height (UICollectionView.frame.size = SomeCell.frame.size
).
I try to make this with set cells width and height constraints to superview (UICollectionView
) but its not working (all cells have some position).
Note: I want to keep compatibility with devices on iOS 9 and newer.