SFViewController default presentation style edge swipe bug on full screen app when personal hotspot or call is active
| Originator: | aralbalkan | ||
| Number: | rdar://23871676 | Date Originated: | 12-Dec-2015 12:18 PM |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | 9.2 |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: 9.2 introduces edge swipe functionality when SFViewController is presented with the default presentation style. It does not, however, work properly when being presented from a full screen app — a view controller that returns true from prefersStatusBarHidden() — when there is an active personal hotspot connection or an active call. Specifically, the SFSafariViewController is presented with an incorrectly-sized Navigation Bar and it corrupts the size of the view of the view controller that it was presented from after being dismissed. Steps to Reproduce: 1. Clone the sample project at https://source.ind.ie/aral/sfsafariviewcontroller-extended-status-bar-bug that isolates and demonstrates the bug. 2. Turn on Personal Hotspot and ensure that there’s an active connection (or make sure there’s an active phone call) or simulate one. 3. Run the project and tap the button to display the SFSafariViewController. 4. Dismiss the SFSafariViewController Expected Results: It should display without any artefacts and, on dismissal, should return to exactly the view configuration it was presented from. Actual Results: In Step 3: It displays a Navigation Bar with incorrect height. In Step 4: It corrupts the size of the view that was present. Regression: * Tested on iPhone 6, iOS 9.2. Notes: The linked to project isolates and reproduces the issue.
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!