Quick and hopefully obvious question.
I have a progmatically created button in my开发者_高级运维 iPhone app that I wish to rotate 45 degrees clockwise, named buttonuq , how can I do this?
You can use a transformation like :
yourButton.transform = CGAffineTransformMakeRotation(45.0*M_PI/180.0);
Good Luck !
精彩评论