Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In Xcode 5, why don't UITextViews display their text in Interface Builder?

In older versions of Xcode (pre Xcode 5) my UITextViews display their text in the Storyboard. In Xcode 5 the UITextViews are blue, labeled "UITextView" in white and the text is not displayed until runtime. I assume their is a preference somewhere to force the issue but I can't seem to find it.

like image 290
user1410595 Avatar asked Oct 03 '13 20:10

user1410595


1 Answers

If you double tap your UITextFields in the interface builder you can edit the text, which will be displayed in your Storyboard. But if the text of your UITextField is set programatically the text will not be displayed in the Interface builder.

like image 168
Hexaquark Avatar answered Oct 22 '22 17:10

Hexaquark