Apply Zoom In and Zoom Out Animation with image in iOS

Apply Zoom In and Zoom Out Animation with image in iOS

Suppose you want to apply the animation on image that will zoom in  and zoom out on tap on the image. You want to show animation tapping the image, You have to use the CGAffineTransform to show the animation on image. If you will set its value 1 then it will pick original size ,If it is less than <1 the image compress according to size , If it is greater than >1 then it will increase the size of the image , If you will set the 2.0 size , then it will show the double size as the original image,If you will set the 0.0 size it will hide the image . You can also set the animation time. Example :-

 

. . .

Comment

Add Your Comment

Be the first to comment.

css.php
Hire Us!
Brief us about your requirements and we'll get back to you.
Woo! Hooy!
We have just recieved your project brief and our expert will contact you shortly.
Send Again
Close