When I set the backgroundColor
property of an CALayer
instance, the change seems to be slightly animated. But I don\'t want that in my case. How ca
If you want to disable implicit animations for a property completely, you can do so by assigning to the actions
dictionary:
myLayer.actions = @{@"backgroundColor": [NSNull null]};
If you wish to disable the implicit animation on a case by case basis, then using [CATransaction setDisableActions:YES]
is still the better way to do it.