How to add a custom font with size in a UITextView ?

By | July 28, 2011

Hi,

For adding a custom font in a UITextView, use the following code.


IBOutlet UITextView *myTextField;

[myTextField setFont:[UIFont fontWithName:@"Helvetica" size:20]];


🙂

Leave a Reply

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