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 a storyboard. In Xcode 5, UITextViews are blue with the words β€œUITextView” in white, and the text is not displayed until executed. I believe this preference is somewhere to cause the problem, but I cannot find it.

+6
source share
1 answer

If you double-tap your UITextFields in the interface builder, you can edit the text that will appear in your storyboard. But if the text of your UITextField is set programmatically, the text will not be displayed in the interface builder.

+1
source

Source: https://habr.com/ru/post/955213/


All Articles