Objective-c – Text View font type & size in iphone

iphoneobjective cxcode

i am using below code to change the the font type of text view. but its not changing the font

textView3.font = [UIFont fontWithName:@"Helvetica" size:17.0f];
tell me where i am wrong.

Best Answer

Use:

textview.font = [UIFont fontWithName:@"Arial" size:FontSize]; 

Where FontSize is an int.