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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -