Is it possible to get the text inside a UITextView with its wrap info.
So
See my answer here:
https://stackoverflow.com/a/13588322/341994
What you are asking to do is exactly what Core Text does for you. Indeed, Core Text is how UITextView knows how to wrap text. So you can ask Core Text where the line breaks are, just as UITextView does. See the example code in my answer - it's a lot simpler and more reliable than what you're trying to do.