I'm developing for both iOS7 and 8 iPhone. Since iOS7 doesn't support compact-height size classes, I thought the consensus way to go about this was to use the any-any size class for landscape iPhone layouts, and use portrait compact-width regular-height (cWrH) size class for portrait iPhone layouts.
I set a constraint on a view in any-any, then modify a constraint constant in cWrH to be specific to that size class. However, iOS7 device as well as Xcode preview ignores the any-any constraint, and uses the cWrH constraint for both portrait and landscape orientations.
I have no clue why this is happening. All I want to do is set different constraints depending on orientation.
This is easily replicated using latest Xcode 6.0.1.
Semi-related: How can Xcode 6 adaptive UIs be backwards-compatible with iOS 7 and iOS 6?
Screenshots below: