ios4 - How to increase size of the ViewImage/View -



ios4 - How to increase size of the ViewImage/View -

i facing problem in increasing size of imageview/ view.

actually want application increment size (0-100) of image/imageview after clicking button through animation.

please help !!!

you need create cgrect , apply view/imageview

here code snippet

cgrect previousframe = view.frame; [uiview beginanimations:nil context:nil]; [uiview setanimationduration:0.5f]; previousframe.size.width = 100; previousframe.size.height = 100; view.frame = previousframe; [uiview commitanimations];

paste code on ibaction of button. alter code want. understanding concept.

ios4

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -