iphone - How to work with the CABasicAnimations -
I'm very new to animation, I need a CABasicAnimation how to move the image from left to left Implement from top to right. I tried with various examples but I have not succeeded. Allos I'm not using the interface builder. I am using a view controller to implement it. Please help me.
Thanks in advance, Shekhar.
Something like this should be:
CABasicAnimation * anim = [ CABasic Animation Animation]; Anim.fromValue = [NSValue value withCGP: CGPointMake (0,460)]; // Start position anim.toValue = [NSValue value withCGP: CGPointMake (320,0)]; // end position anim.duration = 1.0; [VourImageView.layer addAnimation: For Anime: @ "MoveoverUpRight"];
coded in the browser, there is no guarantee for syntax.
See the chapter clear animation
Comments
Post a Comment