UITextField adjusts its font size dynamicaly with respect to is content, it can lower its font size upto a certain value set by the developer. The same requirement may arise for a UITextView where you have to set the content size of the UITextView constant and reduce the font size to view all the text in it without scrolling.
To run the example project, clone the repo, and run pod install
from the Example directory first.
NSJFontResizingUITextView is available through CocoaPods. To install it, simply add the following line to your Podfile:
source 'https://github.com/NSJoker/NSJFontResizingUITextViewPodSpecs.git'
pod "NSJFontResizingUITextView"
NSJoker, [email protected]
NSJFontResizingUITextView is available under the MIT license. See the LICENSE file for more info.