Код: Выделить всё
CABasicAnimation *pathAnimation = [CABasicAnimation animationWithKeyPath:@"strokeEnd"];
pathAnimation.duration = 3.0;
pathAnimation.fromValue = @(0.0f);
pathAnimation.toValue = @(1.0f);
[recordLine addAnimation:pathAnimation forKey:@"strokeEnd"];
Подробнее здесь: https://stackoverflow.com/questions/794 ... canimation
Мобильная версия