title: Autorotation of CALayer on iPhone rotation
body: <p>I have a UIViewController where I am adding a CALayer subclass to the view's layer:</p>
  
  <pre><code>[self.view.layer addSublayer:myObject.backgroundLayer];
  </code></pre>
  
  <p>When I rotate the device, the view rotates, but the CALayer doesn't. It sort of gets shunted off to the left, still in portrait view. </p>
  
  <p>Is there a way to make sublayers rotate automatically or do I need to apply a transform?</p>