How to get the height of a UILabel in Swift?

前端 未结 5 958
误落风尘
误落风尘 2020-12-17 15:21

I am a beginner in Swift and I am trying to get the height of a label. The label has multiple lines of text. I want to know the total height it occupies on the screen.

5条回答
提交回复
热议问题