Animation when changing content mode for a fixed view size

I am developing an application for the iPhone. I have a UIImageView whose size is fixed to 320x480. Initially, the contentmode is set to AspectFit. When I change the content mode to Aspect Fill, I would like to show the animation (the drawing frame of the image changes, the UIImageView frame is fixed). How should I do it?

+5
source share

All Articles