sudeepag/SAConfettiView

Confetti doesn't stop

clrung opened this issue · 2 comments

Hello! I love this effect–great job! I use this pod In my Obj-C app, and when I call

[_confettiView stopConfetti];

The confetti doesn't stop. I tried putting it in viewDidLoad, but it still didn't work. Any ideas? Thank you!

I'll revise; if [_contettiView startConfetti] is called more than once, repeated [_confettiView stopConfetti] calls do not stop the confetti.

This check is necessary because if the confettiView is started more than once, it will never be able to be stopped.