Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Apple 文档有用地说明NSLayoutAttributeBaseline与“对象的基线”对齐。什么是基线?和底层有什么区别?
NSLayoutAttributeBaseline
基线适用于诸如UILabel. 基线将是大写字母底部出现的位置。对于大多数其他视图(如果不是所有其他视图),基线和底部是相同的。
UILabel
NSLayoutAttributeBottom