Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make a POPAnimation loop

How can I have a loop animation with Facebook POP framework.

I tried to set NO for a property named removedOnCompletion in the POPBasicAnimation class but It doesn't work.

like image 398
WilliamZang Avatar asked Sep 24 '14 15:09

WilliamZang


1 Answers

Version 1.0.7 of Facebook-POP has been released and now includes repeat functionality and autoreverse.

To create a endlessly repeating animation set

animation.repeatForever = YES;.

There are also properties repeatCount and autoreverses.

like image 81
combinatorial Avatar answered Oct 12 '22 02:10

combinatorial