Анимация uibezierpath с Cashapelayer и CabasicanimationIOS

Программируем под IOS
Anonymous
Анимация uibezierpath с Cashapelayer и Cabasicanimation

Сообщение Anonymous »

Я могу достичь круговой анимации, используя следующий код. Как лучше всего достичь анимации Circle Antrand Anmation? < /P>

Код: Выделить всё

     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

Вернуться в «IOS»