如何显示imageview倾斜?

我想显示我的image view arbitrary degrees tilted一些arbitrary degrees tilted而不是just simple straight如何转换它显示倾斜? 请帮帮我。

编辑

这是目前的形象观点 在这里输入图像说明

我想要这样 只有具有白色边框的图像框架才会倾斜或倾斜

只有白色的边框图像视图我想倾斜(倾斜)不平铺

只需设置imageViewtransform属性:

 // 10 degrees imageView.transform = CGAffineTransformMakeRotation(M_PI / 180 * 10);