iPhone 6 Plus Only: UITabBarController automatically dismisses UIViewController on rotate

Originator:xiao.liang
Number:rdar://25393521 Date Originated:March 28, 2016
Status:Open Resolved:No
Product:iOS Product Version:9.2, 9.3
Classification:Bug Reproducible:Always
 
Summary:

This bug appears to be on iPhone 6 Plus, or 6S Plus only. iPhone 6 and below, and iPads are not affected.

The UITabBarController will automatically dismiss a segued UIViewController on rotate from Portrait to Landscape when launched from a UITableViewController under the "More" section. 

Steps to Reproduce on iPhone 6 Plus, or iPhone 6S Plus:

1. Launch an app with a UITabBarController as the entry point, with enough items to generate "More"
2. Verify the device is in Portrait orientation
2. Tap the "More" button
3. Select any tab item under "More"
4. Ensure another view (let's call this segued-view) can be segued from the tab item. E.g., if the tab bar item is a table view, make sure tapping on a cell launches a new segued-view
5. Rotate the device to Landscape
6. Notice the segued-view dismisses automatically

Expected behavior: The segued-view should be rotated to Landscape mode, and not dismissed.

Comments

This bug still exists in both iOS 10 and 11.

Here's a workaround that fixes the problem until Apple fixes it properly: https://github.com/jfahrenkrug/UITabBarControllerMoreBugWorkaround

Johannes

By jfahrenkrug at June 30, 2017, 7:31 p.m. (reply...)

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!