Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

fabrum

macrumors member
Original poster
Jan 15, 2021
47
3
Okay, well the title says it all. I have a set of images in all three sizes 1x, 2x, 3x.

I used this video as a tutorial :

Also, I tried all three ways of assuring that the image fits for the Content Mode of the UIViewCollectionView Cell- Scale to Fill, Aspect Fit and Aspect Fill.

I even tried different variations for the constraints - nothing works.

What can I do to make the image fit inside the Cell?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.