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
Post a Comment