ios - animatewithduration exponentially get faster -


i developing ios app. in app have blocks(uiview's) falling top of screen using uiview animatewithduration. looking have them exponentially faster fall. there way using animatewithduration or there way try achieve same effect?

you can increment duration variable in completion block , recall animation. simple effective way you're asking.

[uiview animatewithduration:somevariable animations:^{  // animation  } completion:^ (bool finished)  {     if (finished) {         // increment somevariable here          // call holding method again     } }]; 

Comments

Popular posts from this blog

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -

python - How to create a legend for 3D bar in matplotlib? -