UITextView font in IB not respected

One thing that I found to be a bit odd is that, with the latest Xcode 5 and iOS 7 SDK, if you create a UITextView inside of a UITableViewCell in Interface Builder, and change the font of the text view, it will not use your changed font in the simulator or on a device. After checking with Stack Overflow, I found that if I ticked the Selectable property for my UITextView, all of a sudden it started to respect the new font that I had selected. I am not sure if that is a bug or by design, anyone have any ideas or cite documentation one way or the other?

BTW, Happy Birthday to Leonard Nimoy. Live long and prosper.

2 thoughts on “UITextView font in IB not respected”

  1. I think I may have seen this Stack Overflow question and answer when I was studying the problem. If you are referring to the first answer, subclassing the UITextView, I suppose I could have done that, but it is still only a workaround and seems like a bit more unnecessary jumping through hoops than my solution, which only required an IB change.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.