Swift - Add Missing Constraints option not appearing
772
I am new to this language. In the project I have not done anything yet, I have only added a button in it View Controllerand when I click it to add the layouts, it does not appear to me to be able to mark the option Add Missing Constraintsas seen in the image:
Did you try putting the constraints first? Supposedly when your object is already well placed, Xcode removes that function, now for example in the photo that I put below... as you can see I put some contraints... button size and placement from the Y position... which is the upper Frame...
As you can see, the options appear because there are still some contraints (missing or missing) and all that remains is to press to solve this problem, which in my case would be to center it... I hope it helps you. Greetings!
Did you try putting the constraints first? Supposedly when your object is already well placed, Xcode removes that function, now for example in the photo that I put below... as you can see I put some contraints... button size and placement from the Y position... which is the upper Frame...
As you can see, the options appear because there are still some contraints (missing or missing) and all that remains is to press to solve this problem, which in my case would be to center it... I hope it helps you. Greetings!