Author Topic: How to get the text line num of UILabel currently?  (Read 1879 times)

xiaoniaojjj

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 140
    • View Profile
How to get the text line num of UILabel currently?
« on: February 22, 2014, 09:00:37 AM »
 How to get the text line num of UILabel currently?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: How to get the text line num of UILabel currently?
« Reply #1 on: February 22, 2014, 11:13:40 AM »
label.processedText.Split('\n').Length