objective c - iOS:UILabel, how to judge UILabel's content overflow? -


as title, wanna judge uilabel show content. such as, if set uilabel numberoflines 2,maybe content can arrive end,maybe not,how can judge that?

my code you

titlelable.minimumscalefactor = 0.5; [titlelable sizetofit]; 

Comments

Popular posts from this blog

scala - 'wrong top statement declaration' when using slick in IntelliJ -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

PySide and Qt Properties: Connecting signals from Python to QML -