I have a view controller which contains a scroll view. In this scrollview (among other subviews) are some UIButtons which do not obey their constrains on iPad Pro 10.5 and 12.9 devices and simulators.
In this screenshot taken in XCode - which shows the subviews of the view in question - you can see the selected button (I have tried this by replacing my custom button with a plain UIView and saw the exact same results) - it has a trailing constraint on it which is set to 43px and a top constraint, 19px.
The trailing constraint works fine on iPad air/9.7Pro/2/etc. - but on the 10.5 and 12.9 iPads the button refuses to obey the trailing constraint, and instead the button's trailing edge is 213px from the trailing edge of its superview. Why?
I've already verified that the superview (UIScrollView) is the full width of its superview - it has an equal width and equal height constraint to its parent view.
Also note - I see the same **** thing in IB when I select iPad Prop 10.5 or 12.9 mode - since when are constraints only valid for iPad 9.7? Is there some hidden iPad Pro safe area I don't see? Also note - there are zero warnings in IB about constraints, and zero runtime constraint conflicts in the console.
PS. The yellow regions are for privacy to hide sensitive data shwoing price info for an unreleased version.