如何在Objective-C中旋转UIButton和UILabel的文本?
问题描述:
如何旋转UIButton
和UILabel
的文本? 90度,180度.
How can you rotate text for UIButton
and UILabel
? 90 degrees, 180 degrees.
答
[*yourlabelname* setTransform:CGAffineTransformMakeRotation(-M_PI / 2)];
旋转的图像
上一张图片