Trouble with size class-based constraints

I'm having a hard time getting IB to let me specify constraints per size class. As one example, I have a view that I want laid out a certain way on all but the vertically-compact size. So, I have two constraints from the top of one view to the bottom of two different views.

The first constraint is installed only for "w Any h C". The other is installed for "w Any h R". This should cover all the cases for specifying the y-position of this view.

But when I set IB to show "w Any h Any", it complains that the view "Need constraints for: Y position."

If I switch to either h C or h R, it doesn't complain.

So, what's going on here?

I have numerous other problems when rotating: at runtime, I get a lot of complaints about conflicting constraints. Still investigating those.

Main question: Does IB-specified per-size class constraint installation actually work?

Replies

But do you see the problem when you pick specific device, as required in newer Xcode versions?