I am noticing something strange using XCode 9.3.
I have a view with a UIToolBar on the bottom of it. I have set the following constraints:
The superview is a UIView.
When I viewAs iPhone 8 and then load an iPhone SE Simulator you can see the pink section on the image is where the toolbar is not satisfying rule 4 above.
However, if I set viewAs iPhone SE, it works perfectly:
Any ideas anyone?
I've done no Vary for Traits.
Trailing Space (0): superview
Leading Space (0): superview
Bottom Space (0): superview
Height equals 44.
You just need these 4 constraints
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.