PDA

View Full Version : Any way to limit # of lines in UITextView?




fenrus110
Nov 3, 2008, 02:53 PM
I want multi line input, but I also want to limit the number of lines. It seems the only thing I got to work with is the "selectedRange". But that only tells me the character location. And I don't know if that character is a line break or not.

The length attribute is always 0, what's the point of that?