isBeingPresented == false after presenting view controller from UIDocumentBrowserViewController
Originator: | steipete | ||
Number: | rdar://38542411 | Date Originated: | 16-Mar-2018 09:35 AM |
Status: | Open | Resolved: | |
Product: | iOS + SDK | Product Version: | 11.2 |
Classification: | UI/Usability | Reproducible: | Always |
Summary: This is a duplicate of radar #38500183 After presenting view controller from UIDocumentBrowserViewController the presented view controller’s isBeingPresented property is still set to false. Steps to Reproduce: See attached playground. Expected Results: isBeingPresented should be set to true, which is the case when presenting form UIViewController. Actual Results: isBeingPresented is set to false. Version: 11.2 Notes: This is an unexpected inconsistency. There’s no way to detect that the controller is already being presented by inspecting it’s state. If you need to prevent from presenting the controller twice you need to track the state. Sample: https://github.com/PSPDFKit-labs/radar.apple.com/tree/master/38500183%20-%20isBeingPresented%20%3D%3D%20false%20after%20presenting%20view%20controller%20from%20UIDocumentBrowserViewController
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!