How to resolve the Storyboard's warnings on Xcode?

Viewed 9496
Trailing(Leading) constraint is missing, which may cause overlapping with other views

My storyboard: (just put 2 labels and their constraints)

storyboard

enter image description here

What is the best way to avoid these warnings?

1 Answers
  • 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.

enter image description here

Related