Size classes do not allow different constraints for iPad portrait and landscape
| Originator: | |||
| Number: | rdar://17623620 | Date Originated: | 2014-07-10 |
| Status: | Open | Resolved: | |
| Product: | Xcode | Product Version: | 6 beta 3 |
| Classification: | Enhancement | Reproducible: |
Summary: There are currently three possible combinations of horizontal and vertical size classes that correspond to the dimensions and orientations of the device's main screen: - H: compact, V: regular = iPhone portrait - H: compact, V: compact = iPhone landscape - H: regular, V: regular = iPad portrait *and* landscape - H: regular, V: compact = Does not correspond to device This allows you to create different constraints for the iPhone, depending on whether it is in portrait or landscape mode, in the same storyboard. That's great! Before iOS 8 this required breaking the constraints in code and assigning new ones upon a rotation. For the iPad, however, it still isn't possible to assign different constraints depending on the orientation, because the same size class is used for both orientations. (And not every iPad app will use a split view controller!) Steps to Reproduce: Use Interface Builder and try to find a size class or other configuration option that corresponds to just iPad portrait or iPad landscape. Expected Results: I can assign different constraints for iPad portrait and landscape. Actual Results: I can't. Version: Xcode 6 beta 3
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!