I have some nice custom UIViews that use CALayers for some pretty complex masks and transparencies. It took me a while to figure out how to make it work smoothly, but I found that by wrapping the appropriate objects in the UIView container and setting the layer.shouldRasterize container to YES, but leave this property of all the contained views set to NO, it would work oily smooth , no matter how complicated your mix can be.
This is basically the case:
UIScrollView
View container (layer.shouldRasterize = YES)
- child (layer.shouldRasterize = NO)
- childOfChild (layer.shouldRasterize = NO)
- child (layer.shouldRasterize = NO)
- child (layer.shouldRasterize = NO)
Container ...
Container ... (etc.)
, , , , . . UIScrollView, , "" CoreAnimation . . , . - , , ? .