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?
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?
Hello
You can use a transformation like :
yourButton.transform = CGAffineTransformMakeRotation(45.0*M_PI/180.0);
Good Luck !