UIImageView Constraints Issue

I have one UIImageView inside cell with top, bottom, left, right constraints to contentView of cell. In Xcode13, I have noticed image is spilling out and breaking UI. Same code when built using xcode 12 is working as expected.

What is the size of imageView ? What is the side of the image inside ?

Have you set image Mode to scale to fit or Aspect fit ?

Image mode is aspectFit. Image Is bigger than imageView.

UIImageView Constraints Issue
 
 
Q