Pages

Saturday, June 25, 2011

iphone:Rotate UI Component.

We can rotate UI component through CGAffineTransformMakeRotation such as.
Rotate Button:
btn.transform = CGAffineTransformMakeRotation(0.15);

Rotate Label:
lbl.transform = CGAffineTransformMakeRotation(0.15);

No comments:

Post a Comment