ios - call a function when KDCircularProgress animation is done -


have used kdcircularprogress? if yes, how can when animation done?

circularprogressview.animatetoangle(360, duration: 5, completion:nil) 

any idea how call function when animation done?

use completion:

circularprogressview.animatetoangle(360, duration: 5) { completed in     if completed {         // animation completed     } else {         // animation interrupted     }  } 

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -