Then I used CGAffineTransform to zoom in,
CGPhen transcons neutrons 2 = Cig finan transformation (main view) .transform, 1.05,1.05); MainView.transform = newTrans2;
I make this 15 times for the animation effect.
I would like to zoom out now that the main view is fit in the IFF frame (0,0,320,480).
In addition, the user is able to pinch and is able to pinch, so I'm really surprised how can I reset it to the original location by zooming out.
How can I do this? / P>
Just use UIView animation, which is simple yet effective, you configure it, however you would like:
[UIView startAnimations: Zero references: zero]; [UIView Set Animation Duration: 0.75]; [Main view setframe: CGMKACT (0,0,320,480)]; [UIView commitAnimations];
Comments
Post a Comment