문제

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!!

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top