Xcode 13 - "Button" title not disappearing

Viewed 3529

After updating to Xcode 13, I face a strange issue, I make a button without title in the storyboard, but it appears with "Button" title in build.

Here's button settings

And here's what it looks like in storyboard

storyboard button

But in build it looks like this

Button with "Button" title

3 Answers

I found a solution - need to choose Default style.

enter image description here

If you need to use icon instead of text. Not only button style Default required. You have to check Tint color also because the default is blue.

Button tint

If you want to stick to using a Plain button, try entering a thin space (U+2009) character as the title, which won't consume much space and solves the issue. (Thanks to @El Tomato for suggesting white space characters)

Here it is for easier copy-pasting:  

Related