I have a UIViewController where I am adding a CALayer subclass to the view's layer:
[self.view.layer addSublayer:myObject.backgroundLayer];
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.
Is there a way to make sublayers rotate automatically or do I need to apply a transform?