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 !
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With