Animating CGAffineTransformMakeScale(0.0f, 0.0f) does not work
| Originator: | matthiasplappert | ||
| Number: | rdar://18609993 | Date Originated: | 10-Oct-2014 |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | iOS 8 |
| Classification: | UI | Reproducible: | Always |
Summary: An animation that transforms a UIView to CGAffineTransformMakeScale(0.0f, 0.0f) does not animate on iOS 8. This works on iOS 7. Steps to Reproduce: 1. Open the sample 2. Compile and run on an iOS 7 device 3. Press "Animate" and notice that the red view animates properly 4. Repeat the above for an iOS 8 device 5. Notice that the view does not animate Expected Results: The view should animate. Actual Results: The view does not animate. Version: iOS 8 Notes: Configuration: Any iOS device Attachments: 'AffineTransform.zip' was successfully uploaded. (http://cl.ly/2C3z2r1A1d3r)
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!
A workaround for this problem is to use a transform with a scale very close to zero:
CGAffineTransformMakeScale(0.001f, 0.001f)