Frage

I am trying to build an app that supports variable size text box depending on the content. The size of the UITextView should increase up to 4 lines and then activate the scrolling.

I am not able to get the number of lines when the text is being entered.

Please suggest me some way to do that. Any sample code snippet would be highly appreciated.

Thanks in advance!!

Keine korrekte Lösung

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top