skip to Main Content

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


  1. Chosen as BEST ANSWER

    I found a solution - need to choose Default style.

    enter image description here


  2. 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:

    Login or Signup to reply.
  3. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search