shu223 / PulsingHalo

iOS Component for creating a pulsing animation.
MIT License
1.77k stars 240 forks source link

App back to the foreground stop pulsing #37

Closed kshysius closed 8 years ago

kshysius commented 8 years ago

Hi,

I try press home button ant then i back to app PulsingHalo stop pulsing

i try add this in PulsingHaloLayer.m:

  (void)animationDidStop:(CAAnimation *)anim finished:(BOOL)flag {

    if (flag) {
       [self removeAllAnimations];
       [self removeFromSuperlayer];
    }
  }

but not working

baallalAbderrahim commented 8 years ago

i'm having the same issue , could you help please ? thanks

genaks commented 8 years ago

same here

shu223 commented 8 years ago

I created updated version named "Pulsator" which is written in Swift.

https://github.com/shu223/Pulsator

This problem has been fixed at the repo. Usage is almost same.