The Apple docs usefully state that NSLayoutAttributeBaseline
aligns to "The object’s baseline". What's a baseline? How is that different from the bottom?
Baseline applies to views such as UILabel
. The baseline would be the position where the bottom of uppercase letters appear. For most other views (if not all others) the baseline and the bottom are the same.
NSLayoutAttributeBaseline
NSLayoutAttributeBottom
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