Two modal UIViewControllers displayed as UIModalPresentationFormSheet on iPad br
| Originator: | linde.andreas | ||
| Number: | rdar://12534417 | Date Originated: | Fri, 19 Oct 2012 11:11:32 GMT |
| Status: | Closed | Resolved: | |
| Product: | iPad SDK | Product Version: | 6.0 |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: When having a UIViewController being presented as UIModalPresentationFormSheet and from in there present another view controller as UIModalPresentationFormSheet on top of it and then rotating the device, will scale the first UIViewController to fullscreen on iPad and iOS 6 Steps to Reproduce: - Create a UIViewController A - Present A as UIModalPresentationFormSheet - Create another UIViewController B inside A - Present B as UIModalPresentationFormSheet - Rotate the iPad Expected Results: - Both UIViewControllers are still behind each other at the same size Actual Results: - UIViewController A gets resized to full screen Regression: Happens on any iPad running iOS 6. Notes: Demo code available here: https://www.dropbox.com/s/7p188stpeafnwlh/testmodalios6.zip
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!
Same problem here... I can confirm I have the same behaviour...
The strange thing is that if you use as B a MFMailComposeViewController, everything seems to work ok... At least in my case the Mail VC is actually the third controller in the hierarchy. If you rotate the Mail VC, shown as a form, you will note that the parent view in unzoomed (so to speak) to its correct dimension.... weird...