<p>I would like to apply a transformation (rotation) to a <code>UIImageView</code>. I could just set the <code>transform</code> property of the view, but wouldn't setting the layer's <code>transform</code> make it faster? If so, how can I achieve this?</p>

<p>Assuming I have a <code>UIImageView</code> initialized with an image, can anyone help? Wouldn't it be better to have a <code>UIVIew</code> with a <code>UIImageView</code> in it?</p>

If you're doing a simple rotation, the speed difference is probably insignificant, but you can get access to a view's layer by doing:
```
view.layer
```
So, you can just use
```
view.layer.affineTransform = newTranform;
```