Make UICollectionViewCells with UIImageView height based on image

后端 未结 0 1992
深忆病人
深忆病人 2020-12-15 15:09

I want to make a UICollectionView with the cells the width of the screen, but the height is based on the aspect ratio of the UIImageView inside.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题