UITextView - setting font not working with iOS 6 on XCode 5

Even stranger, this only happens on iPhone, not iPad.

If you're setting the font in code and don't want an editable text view, do this:

textView.editable = YES;
textView.font = newFont;
textView.editable = NO;

The issue was caused by the editable property being false in the Storyboard. I have absolutely no idea why this caused the font to remain unchanged - and only on iOS 6.


In my case, it is matter of 'selectable' property of UITextView.

So I checked 'selectable' property of UITextView in Storyboard Editor to set it YES To set selectable

and later in viewWillAppear set this property to NO.

textview.text = @"some text";
textview.selectable = NO;