In Interface Builder of XCode 6 or 7 on the right Inspector panel, sometimes in the background of the box Constraint is shown the text "Ag", even if there is no error (red) notification in the constraints. What does it means?
The "Ag" appears if a text is associated with the ui element. For example a title text for an UIButton. As others already mentioned, I think it's a helper feature for text alignments.
Caution: If you deal with the language orientations (e.g. right-to-left) a text in a title field sometimes interferes with the auto layout features of the interface builders. I once had the phenomena that the auto layout change for the right-to-left orientation places a button some points more to the right as I intended. The reason was a forgotten text in the title field. After deleting that text the "Ag" disappears and the button was placed as I intended.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With