Anti-alias diagonal edges of CALayer
When I set the transform property of my CALayer with a CATransform3DRotate, the layer is properly rotated. However, the edges of the layer are jagged and not anti-aliased. I've read a couple posts on the subject: iPhone: CALayer + rotate in 3D + antialias? iPhone - Jagged Edges when applying perspective to CALayer I've tried to incorporate their advice by setting the following properties on my diagonal layer CALayer* layer = myView.layer; layer.shadowOpacity = 0.01; layer.edgeAntialiasingMask = kCALayerTopEdge | kCALayerBottomEdge | kCALayerRightEdge | kCALayerLeftEdge; layer.borderWidth = 1.0