问题
Trailing(Leading) constraint is missing, which may cause overlapping with other views
My storyboard: (just put 2 labels and their constraints)
What is the best way to avoid these warnings?
回答1:
- Give Trailing to Hello, Label with World! label like below image give Constant 8 (What minimum gap you need) to Trailing constraint and change Relation to Grater than or Equal.
来源:https://stackoverflow.com/questions/46557266/how-to-resolve-the-storyboards-warnings-on-xcode