From your comment I gather that the problem is the resizing of the images in UIImageView
when changing the bounds of the view.
You can set the contentMode
of the image view to something else. The default is UIViewContentModeScaleToFill
which is not what you want.
You could, for example, set the lower image view to UIViewContentModeBottom
, and the upper image view to UIViewContentModeTop
.
Don't forget to make sure your image views have sett the property maskToBounds
set as YES
.