//----
NSDictionary *dic = [NSDictionary dictionaryWithObjectsAndKeys:[UIFont systemFontOfSize:14],NSFontAttributeName, nil];
CGSize size = [label.text sizeWithAttributes:dic];
//----
//----
NSDictionary *dic = [NSDictionary dictionaryWithObjectsAndKeys:[UIFont systemFontOfSize:14],NSFontAttributeName, nil];
CGSize size = [label.text sizeWithAttributes:dic];
//----
本文标题:21、通过字体大小 确定Label 的 size
本文链接:https://www.haomeiwen.com/subject/wtxprttx.html
网友评论