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

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -