the solution is to use CATransformLayer with sublayers if you are also animating the rotation simultaneously: you make a layer parent of a sublayer so when you rotate parent the child sticks together and also rotates with the parent, then you only rotate the child back.
see this link for a code snippet: https://stackoverflow.com/a/5539618/550393