Any way to limit # of lines in UITextView?

Discussion in 'iOS Programming' started by fenrus110, Nov 3, 2008.

  1. fenrus110 macrumors regular

    Mar 24, 2008
    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?

Share This Page