iphone - Oscillating View Animation -
can 1 please guide me how create oscillation animation on imageview.
i have tag image , want animate it..
any code snippets of cabasicanimation it???
you use:
+ (void)animatewithduration:(nstimeinterval)duration delay:(nstimeinterval)delay options:(uiviewanimationoptions)options animations:(void (^)(void))animations completion:(void (^)(bool finished))completion
and use ease in , ease out transitions accelerate , decelerate toward end.
note: blocks based animation valid in 4.0 , later if want earlier need use
+ (void)beginanimations:(nsstring *)animationid context:(void *)context
and simple matter of editing frame of view.
Comments
Post a Comment