I am trying to change the size of an image when a button is pushed to make it get longer or shorter. I would prefer it if it could be animated into changing its size, but without animation would also help, if anyone can give me any information if this is possible, and how then it would be appreciated
Thanks for your help in advance
Assuming you are using a
UIImageViewthen you simply change the size (this may cause bad effects depending on how much you stretch etc).NOTE:
newFrameis whatever your new frame will beTo animate it stick this inside an animation block