Is there a way to limit the effect of UIPercentDrivenInteractiveTransition to only the topmost view in a view hierarchy?
Specifically: as explained here and here the interactive transition sets the container view layer's speed to 0 and then manipulates the timeOffset to scrub through the transition.
If for example I have an activity indicator in that containing view, the interactive transition also scrubs through the activity indicator's spin animation. It stops spinning and appears to "roll" forward and back with the interactive transition.
Is there a way to localize the effect of setting speed and timeOffset and prevent them from propagating through to any or all subviews?
So far, I can think of two possible approaches:
Create a "barrier" layer: subclass
CALayerand overridesetTimeOffset:to prevent or selectively prevent changesSubclass or replace
UIPercentDrivenInteractiveTransitionwith something that traverses the subview hierarchy and selectively hits only certain views
Any other ideas would be welcome.