Interface freezes and user interaction disabled after the device rotates
| Originator: | yannick.loriot | ||
| Number: | rdar://28317537 | Date Originated: | 15/09/2016 |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | |
| Classification: | Serious | Reproducible: | always |
Area: UIKit Summary: The user interface freezes and no interaction is possible after the device rotates when one of its sublayer have a speed of 0. In the provided example (in Swift 3), I have a squared view aligned in the middle of the main view using auto-layout constraints. This squared view has its layer speed property sets to 0. When I rotate the device (or the simulator), this squared view should go to center of its superview but it freezes. In Swift 2.2 it worked fine but now it fails. Steps to Reproduce: 1. Open the Example/Petal.xcodeproj 2. Runs the Petal target on an iOS simulator or an iOS device 3. Rotate the device Expected Results: The views should layout correctly and the user interactions should be enable Actual Results: The views are not layout, the interface is frozen and no user interaction is possible Version: iOS 10.0.1 (14A403) and iOS simulators (iOS 8.4 and over) Notes: Example project here: https://github.com/yannickl/Petal/tree/swift3 Configuration: iPhone 6 WiFi, iPad Mini 2, iOS simulators
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!