Height and vertical position are ambiguous for UIStackView
2 answers
For me, I got the following error:
warning: Ambiguous Layout: Position and size are ambiguous for 'Button'.
If the button was placed inside a stack view in Interface Builder. The problem was that I checked Hidden in Interface Builder, which meant Xcode was freaking out saying position and size are ambiguous. Just uncheck the "Hidden" checkbox in Stack View and the warning disappears ... Magic! â¨
0
source to share