UILable文字不居中问题

有时候lable只想输入一行文字,可是文字会居中显示,并且上下会留白,怎样才能靠顶部显示文字。html [label sizeToFit];post 若是是多行显示须要加:htm label.numbeOfLines = 0;blog [lable sizeToFit];it 转载于:https://www.cnblogs.com/ldnjun/p/4572203.htmlclass
相关文章
相关标签/搜索