Created
October 4, 2017 11:00
-
-
Save dreampowder/3e094ed830115f9faac1febb5127bea7 to your computer and use it in GitHub Desktop.
Get Number of Lines inside uitextview
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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