Possible Duplicate:
UIImageView Transform Scale
I am trying to achieve something similar to the screenshot down below.

I have tried to do this by simply changing the view’s frame property and increasing its width and height but it
1) does not really enlarge the view and its subviews it just increases the size
2) It only increases its size from the left so it does not look even
Also is there a way I can have this animated? I could just place it in UIView's animateWithDuration: block right?
There are 2 approaches you can take –
If you are using standard
UITableViewthen simply use Managing the Reordering of RowsIf you are not using
UITableViewand are doing something more custom withUIViewsthenwhat you need is a property called
scale. Scaling a view is done using Core Graphics Affine transforms when you’re looking to affect the UIView (as opposed to the layer which use Core Animation transforms).To scale a view use – this scales the view to 2x.
To translate, use
You can also play around with
alphato set it to say 0.5 to give it that extra cool look you have put in the screenshot.To animate these, wrap them in an animation block. If you want to transform the view with both of these, then you need to concatenate them.