Home > Net >  Xcode 13 - "Button" title not disappearing
Xcode 13 - "Button" title not disappearing

Time:09-29

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

CodePudding user response:

I found a solution - need to choose Default style.

CodePudding user response:

Try entering a zero width character as the title, which won't consume space (hence the name zero width) and solves the issue. (Thanks to @El Tomato for suggesting white space characters)

  • Related