UIViewController.shouldAutorotate is never called in Action Extension
| Originator: | an00na | ||
| Number: | rdar://31979499 | Date Originated: | May 3, 2017 9:23 PM |
| Status: | Open | Resolved: | |
| Product: | iOS + SDK | Product Version: | 10.3 |
| Classification: | UI/Usability | Reproducible: | Always |
Area: UIKit Summary: UIViewController.shouldAutorotate is never called in Action Extension. I want to prevent auto rotation under some conditions but not always. I cannot achieve that due to this bug. Steps to Reproduce: 1. Launch sample app's Action Extension from Safari. 2. Rotate iPhone. Expected Results: ActionViewController.shouldAutorotate is called and rotation is prevented. Observed Results: ActionViewController.shouldAutorotate is not called and rotation is not prevented. Code: https://cloudup.com/cy6vQjOVDjK
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!