UIView.backgroundColor spring animation bug
| Originator: | an00na | ||
| Number: | rdar://27854815 | Date Originated: | 15-Aug-2016 05:02 PM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 10.0 beta 6 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: When running an underdamped spring animation for UIView.backgroundColor from UIColor.clear color to UIColor.black, there is a short period near the end — overshooting period I guess — during which the background color jumps back from black to clear. I guess it has something to do with the new extended color spaces in iOS 10. You can change the animation to normal animation or increment the damping to over 0.9 to see the correct behavior. Steps to Reproduce: Run the sample playground. Regression: Only on iOS 10. Code: https://cloudup.com/ihWiqlVxt1A
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!
I just found the same bug. Any known workarounds?