HomeiOS Developmentios - Auto format constraints regulate view sizes regardless of full constraints

ios – Auto format constraints regulate view sizes regardless of full constraints


Somebody please assist me perceive this! I’m sick of auto format! Anyhow, I’ve two buttons, button A on the left, and button B on the best, and a UIView beneath them.
listed here are the constraints for all of them.

Button A Constraints:
Width 75, Peak 35
Prime 10 to secure space
Backside 241 to uview(purple shade)
main 10 to secure rea
trailing 244 to button B(on the best)

Button B constraints
Width 75, Peak 35
Prime 10 factors to saf space
Backside 241 to uiview(purple)
trailing 10 to secure space
main 244 to button A(on the left)
Width 75, Peak 35

Constraints for UIVIew
prime 241 to the 2 buttons
backside 0 to secure space
main and trailing are each zero with respect to secure space, however the trailing retains altering to superview with no choices to edit that.

The massive query I’ve is why is button A all of the sudden getting greater and transferring taking on extra space regardless of the width being fastened? Additionally, it needs to be 244 factors away from button B. What’s up with that growth? I gave it each x, y, width and top. what is the situation?

I connected photographs

portraitimage

landscapeimage

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments