Skip to content

Instantly share code, notes, and snippets.

@dreampowder
Created October 4, 2017 11:00
Show Gist options
  • Save dreampowder/3e094ed830115f9faac1febb5127bea7 to your computer and use it in GitHub Desktop.
Save dreampowder/3e094ed830115f9faac1febb5127bea7 to your computer and use it in GitHub Desktop.
Get Number of Lines inside uitextview
numLines = textView.contentSize.height/textView.font.lineHeight
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment