Author Topic: How to calculate the width size of UILabel, if the line width is 0?  (Read 2882 times)

xiaoniaojjj

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 140
    • View Profile
How to calculate the width size of UILabel, if the line width is 0?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to calculate the width size of UILabel, if the line width is 0?
« Reply #1 on: February 17, 2013, 07:11:49 PM »
UIFont.CalculatePrintedSize, scaled by the label's localScale.