Search code examples
iosxcodeuilabel

Capitalized text in UILabel from visual editor in xcode


I am starter in iOS. I found out that there are ways around making the text bold, and changing font and font size etc from visual editor. But are there any ways to set the UILabel text All Capitalized from visual editor (STORYBOARD, NOT CODE). I searched but only found code (Swift/Objective C) based answers like this:

testDisplayLabel.text = testDisplayLabel.text.uppercased()

Solution

  • Just turn ON caps lock and type text :) that's the way we do in storyboard, Other thing you can do is select a font that has only Uppercase character in it.