Discrepancy of Size Class for 2/3 Split Portrait View iPad Pro 12.9

Originator:huapapojt
Number:rdar://34621309 Date Originated:09/23/2017
Status:Open Resolved:
Product:iOS + SDK, UIKit Product Version:11.0
Classification:Serious Bug Reproducible:Always
 
Summary:
There is an important design discrepancy in how Size Class is enforced for 2/3 Split Portrait View on iPad Pro 12.9.

Apple's official doc indicates that 2/3 Split Portrait View for iPad Pro 12.9 gets Regular Width (I don't think it makes sense, since ratio-wise it should be Compact, but ok.)

Xcode's interface builder also enforces the same thing. Screenshot attached.

However, `traitCollectionDidChange` informs me that 2/3 Split Portrait View has **Compact** Width. Screenshot attached, and a sample Xcode project attached.

Please address this issue.

Steps to Reproduce:
1. Run attached Xcode project on an iPad Pro 12.9 simulator in Portrait Mode
2. Put the app in 2/3 Split View.
3. See the logging message.

Expected Results:
Same horizontal size class as in the official doc and in IB expected.

Actual Results:
`traitCollectionDidChange` returns inconsistent horizontal Size Class.

Version/Build:
Xcode 9 with iOS 11 SDK

Configuration:
MBP mid 2014. See attachment.

Comments

The official doc

The official doc: https://developer.apple.com/ios/human-interface-guidelines/visual-design/adaptivity-and-layout/


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!