I have a CALayer to animate a change in its image contents. Now, how can I change how long it takes for this animation to take place?
You can just call:
[CATransaction setAnimationDuration:durationSecs]
in -layoutSublayers or anywhere else that you modify the layers and expect them to implicitly animate. This will effect the current implicit transaction and any sub-transactions within this one.