UI becomes unstable after swiping to dismiss Safari View Controller in landscape when presenting from portrait view controller

Originator:lcao
Number:rdar://25921465 Date Originated:25-Apr-2016 05:41 PM
Status:Open Resolved:
Product:iOS SDK Product Version:9.3.2
Classification:UI/Usability Reproducible:Always
 
Summary:
The Safari View Controller's UI becomes unstable when it is dismissed by swiping in landscape orientation. The bug only occurs when the presenting view controller only supports portrait mode.

An image of the resulting UI is attached, as well as a sample application that can be used to reproduce the issue.

Steps to Reproduce:
1. Launch sample application
2. Tap on "Present Safari View Controller" button
3. Rotate device to landscape orientation
4. Swipe to dismiss from the left edge of the screen.

Expected Results:
The Safari View Controller should animate off the screen in landscape mode, revealing the portrait mode content underneath it.

Actual Results:
The Safari View Controller UI becomes buggy and switches to portrait mode. The Safari View Controller also fails to dismiss.

Version:
iOS 9.3.2 (13F61)

Configuration:
iPhone 6s 64 GB T-Mobile, using Wi-Fi

Sample Code:
https://github.com/sqwerl/safariviewcontrollerbugs

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!