UILabel issue - position

Hi there,

The problem is that when I just drag and change the position of my label in xib, it does not effect properly in my app.

@IBOutlet weak var Example: UILabel! is connected to the label in xib file.

In total there are 3 labels, so I want to see them normal, but now it looks like the first label is inside the second label. The second and third label has huge spacing, and they are in very center. The first label is on very left side.

Appreciate your ideas.

Did you define constraints to position labels ?

Or you could also insert them in a stack (horizontal or vertical)

And please show code or show how the xib is defined, it is hard to give precise advice otherwise.

UILabel issue - position
 
 
Q