So in your case the uiimageview in the background has the full height of the screen, 480. At the bottom you have the toolbar on top of your imageview. You need to shorten your imageview so that the height of your imageview + height of toolbar = 480 (or 460 if the top bar is visible...).
In order to keep aspect ration you need to set Aspect Fit in your imageview.
Code:
imageView.contentMode = UIViewContentModeScaleAspectFit;
This will probably leave black bars on either top or sides but this will ensure you see the whole photo, correct aspect ratio. You may want to look in to aspect fill as well as it's the prettier option.