UIPercentDrivenInteractiveTransition doesn't control CAAnimation properly

Originator:fbeeper
Number:rdar://38766932 Date Originated:22/03/2018
Status:Closed Resolved:No
Product:UIKit Product Version:iOS 10/11
Classification:bug Reproducible:Yes
 
Summary: 
If a custom `UIViewControllerAnimatedTransitioning` performs its animations using `CAAnimation` (even when wrapped on `CATransaction`), `UIPercentDrivenInteractiveTransition` does not control the animation interactively.

Steps to Reproduce: 
Implement a `UIPercentDrivenInteractiveTransition` relying on a custom `UIViewControllerAnimatedTransitioning` that implements animation using `CAAnimation` (such as a `CABasicAnimation`). And, for example, run the an interactive transition in a `UINavigationController` triggered by a `UIScreenEdgePanGestureRecognizer`.

Expected Results: 
An `UIPercentDrivenInteractiveTransition` that actually works by pausing, resuming or canceling the animations defined as `CAAnimation` as it does with those created on **view-based animations** (`UIView.animateWith...`).

Actual Results:
The animations execute normally disregarding interactive percent-driven control.

Version/Build:
iOS 11.2 (15C114)

Configuration:
Deployment target: iOS 10. 
Happens on both physical device and simulator.

Comments

Dupe

This radar was tagged as a duplicate


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!