I have a number of situations in my application where I am transitioning from one view to another with a CATransition. On view being transitioned to, there is often a graphic drawn by CoreGraphics. For argument's sake let's say it's a couple of squares. However when animating into the view, the animation stutters for a split second midway through the transition as it draws the graphic for the first time.
Is there a (hopefully simple) way of pre-drawing this view with its custom graphics prior to the animation beginning, so this stutter doesnt occur?
Set shouldRasterize
to YES
on the layer.