Created
July 6, 2012 19:07
-
-
Save venkatd/3062174 to your computer and use it in GitHub Desktop.
Rotate a UIView on the iPhone
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
// rotate view by 45 degrees | |
myUIView.transform = CGAffineTransformMakeRotation(M_PI/4); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment