“Toggle Slow Animations” should work on CAAnimations
| Originator: | igeek1 | ||
| Number: | rdar://15942478 | Date Originated: | 29-Jan-2014 08:11 PM |
| Status: | Open | Resolved: | |
| Product: | Xcode | Product Version: | 5.0.2 (5A3005) |
| Classification: | Other Bug | Reproducible: | Always |
Summary: “Toggle Slow Animations” is super useful in the iOS simulator, but it only applies to UIView-based animations. It should also affect CAAnimations applied directly to CALayers. Steps to Reproduce: 1. Open the attached sample project in Xcode. 2. Run the project in the iPhone simulator. 3. Press the Animate button. Note that the red and blue squares move at the same speed. 4. Type Command-T to toggle slow animations. 5. Press the Animate button again. Expected Results: Both squares move at the same reduced speed. Actual Results: The red square, which uses UIView-based animations, slows down, but the blue square, which uses a CABasicAnimation, does not slow down. Version: Xcode 5.0.2 (5A3005) Notes: It is possible to enable app-wide slow animations, regardless of how they are animated, by pausing the app and running this command in the debugger: p [(CALayer *)[[[[UIApplication sharedApplication] windows] objectAtIndex:0] layer] setSpeed:.1f] Source: http://gavrix.wordpress.com/2013/03/16/how-to-toggle-slow-animations-on-device/ This should be possible from the UI. Configuration: Attachments: Sample code: http://cl.ly/TdwF
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!