So I got a view with a layer and some sublayer that have compositingFilter set with blend modes to see though the layers. I want to save all sublayer to one image in the photo library. Everything looks good in the views but when I save the CALayer, by converting it to a UIImage with UIGraphicsContext and using UIImageWriteToSavedPhotosAlbum, I only get one layer saved.
Dose anyone know how to convert multiple sublayers in a CALayer to a UIImage?