0
x 축에서 180도 회전해야합니다. 회전은 끝났지 만 회전이 시작되면 반쪽이 접 힙니다. 이것은 제가 한 코드가 도움이 될 수 있습니다.CABasicAnimation x 축에서 뷰 회전
CABasicAnimation* rotationAnimation;
rotationAnimation = [CABasicAnimation animationWithKeyPath:@"transform.rotation.x"];
rotationAnimation.fromValue = [NSNumber numberWithFloat:0];
rotationAnimation.toValue = [NSNumber numberWithFloat: M_PI * 2.0];
rotationAnimation.duration = 2.0;
rotationAnimation.cumulative = YES;
rotationAnimation.repeatCount = 0;
[_view_topShowDate.layer addAnimation:rotationAnimation forKey:@"rotationAnimation"];
당신이 접힌 뷰의 이미지를 게시하시기 바랍니다 수 아래의 사용 위치를 변경하려면? – shallowThought
[CABasicAnimation을 사용하여 UIImageView를 두 번 이상 회전] 가능한 복제본 (http://stackoverflow.com/questions/17426802/using-cabasicanimation-to-rotate-a-uiimageview-more-than-once) –