Edge swipe dismissal of SafariViewController hangs presenting app
| Originator: | buchanan.paul | ||
| Number: | rdar://23889489 | Date Originated: | 14-Dec-2015 01:59 PM |
| Status: | Closed Duplicate of 23887854 (Closed) | Resolved: | Duplicate of 23887854 |
| Product: | iOS | Product Version: | iOS 9.2 |
| Classification: | Hang | Reproducible: | Always |
Summary: When a SafariViewController is presented from an app using ViewController-based status bar control with a light (white) status bar, and you edge swipe to dismiss, this will put the presenting app in a bad state. Subsequent view controller presentations silently fail. Navigation controller pushes or pops silently fail. Really any kind of view hierarchy modification fails to take effect. Only recourse is to kill and re-launch the app. The problem seems to stem from the status bar needing to change color during the dismissal. Using the SafariViewController done button, or edge swiping slowly enough so that the status bar transitions before dismissal avoids this behavior. If you present a SafariViewController from an app with a dark status bar, then the status bar doesn't need to change during dismissal, and the problem doesn't happen. Expected Results: Expected results are that the edge swipe dismisses the SafariViewController without putting the presenting app in a bad state. Actual Results: Edge swipe dismissing the SafariViewController puts the presenting app in a bad state requiring a restart of the app to correct. Version: Xcode 7.2 (7C68) iOS SDK 9.2, or iOS 9.2 (13C75) on phone
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!