How to set a UITextView font type and size in iPhone ?

By | June 23, 2011

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.

🙂

One thought on “How to set a UITextView font type and size in iPhone ?

  1. Pingback: How to set a UITextView font type and size in iPhone ? | Coderz Heaven

Leave a Reply

Your email address will not be published. Required fields are marked *