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

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -