Vertical position is ambiguous, conflicting contraints

Louis

New Member
#1
I am getting the following warnings in my view controller, and I would like to understand why. Please see the image.

aloXv.png

Thank you for your help!
 

Admin

Administrator
Thành viên BQT
#2
Works perfectly fine on my Xcode 9.4.1 Link to the image. Can you please click on the red arrow beside View Controller Scene to see what is the reason behind the ambiguity of the constraints.
 
OP
OP
L

Louis

New Member
#3
You just made me realize I had to remove the top contraint! Actually I also removed the right contraint, I realized that I just need a vertical and horizontal contraint since the rectangle is centered. Thanks a lot!
 

Từ khóa phổ biến

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top