I'm having trouble with the size of a UIImageView within the same Size Class (Trait Collection now).
Here's my concrete problem, I have a UIImageView
which goes smaller as the device goes smaller, however it's the same Size Class, so I can't add specific Size Class constraints to prevent this.
- iPhone 7 plus :
- iPhone 4 :
All you can do is remove leading, trailing and bottom constraints and follow the below steps...
1) Fix height and width of UIImageView.
2) And set this UIImageView to Horizontal center of superview.
Now it'll work in all devices without downsize of UIImageview.