Dynamically setting modalInPopover no longer works in iOS 8
| Originator: | lange.dustin | ||
| Number: | rdar://19487595 | Date Originated: | 01/15/15 |
| Status: | Closed | Resolved: | Yes |
| Product: | iOS SDK | Product Version: | 8.0 |
| Classification: | Other Bug | Reproducible: | Always |
Summary: In iOS 8, setting the modalInPopover property dynamically while the view controller is presented does not have any effect on the view controller. This behavior occurs when using both UIPopoverPresentationController and the "soft" depreciated UIPopoverController. Prior to iOS 8, the property would behave as intended regardless of whether the view controller is presented. Although if you set modalInPopover to YES prior to presentation, the view controller will be modal after presentation. Steps to Reproduce: 1. Present a view controller using the UIPopoverPresentationController APIs or depreciated UIPopoverController. 2. The presented view controller should contain a button, which it's action should toggle the value of modalInPopover. 3. Select the button to set modalInPopover = YES. 4. Tap outside of the presented view controller (the dimming view) Expected Results: The view controller should be modal. Actual Results: The view controller does not become modal. Version: 8.0 Notes: Configuration: Any iPad, iPad Simulator Attachments:
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!
This issue has been resolved in iOS 9 beta 1.