basicAnimation.removedOnCompletion=NO; 直接设置动画这个属性在applicationWillEnterForeground里进行通知处理. 在收到通知的时候 然后让动画重新动起来