I'm currently getting extra space on the top and bottom of my UILabel. I have it set to be font size 24, but it can go as small as size 14 (this is to help the text fit when used on smaller phones like 4s) And I have the number of lines constrained to just 7. Other than that, I don't have any constraint forcing it to be a certain height, I'm letting Xcode decide that, but I don't understand why it's adding the extra space. See images for all the settings I have.
UILabel Attributes
Size Inspector Constraints
View in Xcode
Results in iOS
I do have code that is rounding the corners and adding a shadow, but I don't think it is affecting the top and bottom gaps since that is showing in Xcode before the code even runs.
And just as an explanation, the constraints with 16 are making the width match the width of the white background. And the constraints with the 6 are sizing the dark green background around the UILabel.
EDIT: Adding Full Constraint list
Edit 2: Adding XIB image