uiview - How to control overlapping Alpha fades on iPhone -


I have two animation methods, basically simply repetition ... how do I prevent them from overlapping and flickering, doing this Convenient way to do?

Thanks,

  - (zero) doPowerChangeAnimUp {powerIconChange .alpha = 0; [UIView startup permissions: zero reference: NULL]; [UIView Set AnimationDesettop Selector: @Selector (AnimationDidtop :)]; [UIView Set Delegate Animation: self]; [UIView Set Animation Duration: 2]; [Power icon set alpha: 1]; [UIView commitAnimations]; } - (Zero) Animation DIDStop: (nssting *) AnimationEnd {[UIUUU Startup Permissions: Zero Reference: Null]; [UIView Set Delegate Animation: self]; [UIView Set AnimationDesetSet selector: @Selector (doPowerChangeAnimUp)]; [UIView Set Animation Duration: 2]; [Power icon set alpha: 0]; [UIView commitAnimations]; }  

You try to set an autorver instead of making the animation a new animation Can generate a smooth "bounce":

  - (zero) doPowerChangeAnimUp {powerIconChange .alpha = 0; [UIView startup permissions: zero reference: NULL]; [UIView Set Animation Re: Copy: Yes]; [UIView Set Animation Recurrence Number: 2]; [UIView Set AnimationDesettop Selector: @Selector (AnimationDidtop :)]; [UIView Set Delegate Animation: self]; [UIView Set Animation Duration: 2]; [Power icon set alpha: 1]; [UIView commitAnimations]; }  

Anyway, instead of calling the Stop Selector, you can increase the animationRepeatCount in a higher value, so that it's all your animation with a single Can cover Start Permissions Block


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -