I have an view controller with UIImageView named someImageView. This image view has no default UIImage. I\'m loading UIImage
UIImageView
someImageView
UIImage
You have to change contentMode to UIViewContentModeScaleToFill of your imageView
contentMode
UIViewContentModeScaleToFill
someImageView.image = myImage; someImageView.contentMode = UIViewContentModeScaleToFill; CGRect frame = someImageView.frame; frame.size = myImage.size; someImageView.frame = frame;