CGAffineTransform rotation = CGAffineTransformMakeRotation(1.57079633); //旋转90度
[youview setTransform:rotation]; //yourview 是准备旋转的视图,是UIView子类
CGAffineTransform rotation = CGAffineTransformMakeRotation(1.57079633); //旋转90度
[youview setTransform:rotation]; //yourview 是准备旋转的视图,是UIView子类