7
는이 코드CATransform3DRotate하고있는 UIImageView
CABasicAnimation *animation;
animation = [CABasicAnimation animationWithKeyPath:@"transform.rotation"];
animation.duration = 1;
animation.toValue = [NSNumber numberWithFloat:M_PI];
animation.fromValue = [NSNumber numberWithInt:0];
[square.layer addAnimation:animation forKey:@"rotation"];
와 함께 UIImage
보기 애니메이션을하고있어 모든 잘 작동하지만 내 배열이 애니메이션의 끝에서 자신의 원래 위치를 취할.
[square.layer setTransform:CATransform3DRotate(HERE, -M_PI, 0, 0, 0)];
그리고 내가 대신 "여기"의 작성 모르겠어요 : 나는 레이어 속성으로 보였다 발견. 제발 도와 주실 수 있나요? 감사합니다.
많은 브래드! – Pierre