Hello,
I have a fixed size UITextView whose text keeps varying. I want to display the text in a fashion that user dont need to scroll and still he can see the whole text. Also if the text is very short then, it will acquire the whole TextView to make sure user dont see an empty space.When I say the text keeps varying means the length keeps varying.
So as the size is fix and text is varying I know I need to change the size of font for the text. But how to find such an accurate font which will acquire the whole UITextView and avoid scrolling.
I tried using sizeWithFont but it doesnt work. Any kind of help specially with code is appreciated.
Thanks.