UILabel问题汇总
2020-06-28 本文已影响0人
贝灬小晖
1.iOS 获取label文本占多少行
if let lines = cell.questionLabel.value(forKey: "measuredNumberOfLines") as? Int{
}
1.iOS 获取label文本占多少行
if let lines = cell.questionLabel.value(forKey: "measuredNumberOfLines") as? Int{
}