UIViewPropertyAnimator animation fraction
| Originator: | damian.au.damian | ||
| Number: | rdar://33606938 | Date Originated: | July 29 2017 |
| Status: | Open | Resolved: | No |
| Product: | iOS SDK | Product Version: | iOS 11.0 (15A5327g) |
| Classification: | UIKit | Reproducible: | Always |
Area: UIKit Summary: UIViewPropertyAnimator currently can be animated only until specific position (end, or start if reversed), or have its fractionCompletion manually set, it would be a great improvement if it would be possible to animate the animator to specific fraction point. Steps to Reproduce: Create UIViewProperty animator, configure it, later at some point try to call 'continueAnimation' method. Expected Results: Be able to decide until what fractionCompletion point animation should continue to. e.g. current fraction of my animation is 0 and I want to animate it only till halfway - animator.continueAnimation(withTimingParameters: nil, durationFactor: 1, untilCompletionFraction: 0.5) Observed Results: Currently the method allows only to set the timing parameter and duration factor.
Comments
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!