Hi,
In order to set the font type of UITextView, do the following.
In your .h class file,
IBOutlet UITextView *urTextView; |
In your .m class file,
[urTextViewsetFont:[UIFont fontWithName:@ "Arial Rounded MT Bold" size: 18 ]]; |
This will set ‘urTextView’ with font name ‘Arial Rounded MT Bold’ with font size 18.
Pingback: How to set a UITextView font type and size in iPhone ? | Coderz Heaven