Created
January 23, 2013 15:51
-
-
Save OmidH/4608487 to your computer and use it in GitHub Desktop.
3d transform
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[UIView beginAnimations:nil context:nil]; | |
CATransform3D _3Dt = CATransform3DRotate(self.view.layer.transform,3.14, 1.0, 0.0,0.0); | |
[UIView setAnimationRepeatCount:5]; | |
[UIView setAnimationDuration:5]; | |
self.view.layer.transform=_3Dt; | |
[UIView commitAnimations]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment