[UIViewanimateWithDuration:2
animations:^{
self.cover.transform = CGAffineTransformMakeTranslation(0,0);
CATransform3D _3Dt = CATransform3DIdentity;
_3Dt =CATransform3DMakeRotation(M_PI/2.0f,0.0f,-1.0f,0.0f);
_3Dt.m34 = 0.001f;
_3Dt.m14 = -0.0005f;
self.cover.layer.transform =_3Dt;
}
completion:^(BOOL value){
NSLog(@"temp:%@,%f",self.cover,self.cover.layer.anchorPoint.x);
[UIView animateWithDuration:3
animations:^{
CATransform3D _3Dt = CATransform3DIdentity;
self.cover.layer.transform =_3Dt;
}
completion:^(BOOL value){
NSLog(@"end:%@,%f",self.cover,self.cover.layer.anchorPoint.x);
}];
}];