CAで単純な部分反転アニメーションを作ろうとしているのですが、遠近感に問題がありました。私は試しました:
[UIView animateWithDuration:1.0 animations:^{
self.someView.layer.anchorPoint = CGPointMake(0.5, 0);
self.someView.layer.transform = CATransform3DMakeRotation(M_PI*0.6,1.0,0.0,0.0);
} completion:^(BOOL finished){
// code to be executed when flip is completed
}];
この素晴らしい視点を得るにはどうすればよいですか?