Post

Replies

Boosts

Views

Activity

Comment on No longer invalidateIntrinsicContentSize() invokes intrinsicContentSize for UICollectionViewCell/UITableViewCell in iOS 16?
I decided it would be more appropriate to provide an explanation than to send in a sample project. I used addSubview some views inherited UICollectionViewCell to a view that was not UICollectionView. UICollectionViewCell was used as the parent view in order to use views of various structures while maintaining SSOT in UIStackView (or autolayout) and UICollectionView. As a result, changes calling invalidateIntrinsicContentSize() in UICollectionViewCell in iOS 16 affected my structures
Jun ’22