The content of a layer is an animatable property, so by default,
changing the content will do a crossfade. It seems that applies to
custom content (drawn by -drawInContext:) as well as the "content"
property.
There are a couple ways to suppress animations. You can use the
CAContext API to disable all animations while you make your changes,
or you can use the layer's "actions" dictionary to override the
animation for the content transition.
Thanks!
I tried the following which seems to work. I'm not sure if it's the
approved way or not: