问题:如果包含应用了以下动画的 UIView 的 ViewController 被释放,是否会导致内存泄漏或保留循环?
换句话说,如果我将此动画应用到 uiview,当 uiview 的父 VC 被解除或释放时,是否会导致内存泄漏或保留循环?
+(CAAnimation*)fadeOfRoomStatusLabel
{
    //Customize animation
    CABasicAnimation *animation = [CABasicAnimation animationWithKeyPath:@"opacity"];
    animation.FromValue = [NSNumber numberWithFloat:0.2f];
    animation.toValue = [NSNumber numberWithFloat:1.0f];
    animation.autoreverses = YES;
    //animation.BeginTime = CACurrentMediaTime()+.8;
    //animation.timingFunction = [CAMediaTimingFunction functionWithName: kCAMediaTimingFunctionEaseOut];
    animation.removedOnCompletion = NO;
    animation.duration = 1;
    animation.repeatCount = 99;
    return animation; 
}