Apply Zoom In and Zoom Out Animation with image in iOS

Updated 18 December 2016

Save

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 :-

 

author
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Start a Project


    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home