I have a UIImageView where I have set the frame size to x = 0, y = 0, width = 404, height = 712. In my project, I need to change the image in
UIImageView
x = 0, y = 0, width = 404, height = 712
Update for Swift 3:
imageView.contentMode = .scaleAspectFit