I have a UIView of size width: 285 and height: 243. Within that view, I have a UIImageView (it is within that UIView according to Storyboard). That UIImageView has width 283 and height 241 (so that the UIView shows 1px around). I position that UIImageView 1px vertically and 1px horizontally from the UIView. Now, for some reason, everything shows fine within Storyboard, but once it runs, the UIImageView doesn't respect any of the height or width I gave. IF I set the mode to Scale to fill, it works, but I want Aspect fill which it doesn't work.
I am using auto-layout by the way. Any ideas?!