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 Comment

  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 *

 

 

 

Theme by HermesThemes

Copyright © 2018 CoderzHeaven. All Rights Reserved

Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.