Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 13 - "Button" title not disappearing

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

like image 947
Alex Metelkin Avatar asked Sep 29 '21 11:09

Alex Metelkin


People also ask

How do I hide an element in Xcode?

Select one of your views to 'hide' and in Utilities Pane, select Size inspector and set your X (horizontal) value to 1000 - which will slide the view off the screen, allowing you access to layers below. Don't forget to reset X value when done.

How to change button title text in Xcode?

Then you can change the iOS button attributes ( such as title text, text color, text font, button background color, etc ) in the Xcode Attributes Inspector pane. 2.2 Change Button Title Text. In the Button area, input button text in the text box under Title attribute. You can see the button text is changed immediately in the screen view.

How to change button title text color in Mac OS X?

To do this, press Control + Command + Space key at the same time to popup mac os emoji select panel, then select one emoji to input it in the button title text box. 2.3 Change Button Title Text Color. In the Button area, select the text color in the Text Color drop-down list. You can select a customized color in the popup color pane.

How to change button size and position in Xcode?

To change button size and position, you should first open the Xcode Size Inspector pane by click View —> Inspectors —> Show Size Inspector menu item at Xcode top menu bar. In this example, we want to make the button width full fill the screen width, make the button height as 30, and make the button center located at the screen center.

How to open the object library in Xcode 11?

Now, in XCode 11, the developer must press "View/Show LIbrary" (two clicks) or "Command-Shift-L" (ie: 3 clicks) to open the object library. It is now more work to open the object library, which seems odd to me since the object library is used often during the design phase.


2 Answers

I found a solution - need to choose Default style.

enter image description here

like image 173
Alex Metelkin Avatar answered Oct 21 '22 03:10

Alex Metelkin


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

like image 41
LordGift Avatar answered Oct 21 '22 05:10

LordGift