按钮旁边的图像上显示不需要的字符。

huangapple go评论120阅读模式
英文:

Unwanted characters showing on the button next to the image

问题

按钮被设置为一个系统图像 "plus",没有任何标题,但不知何故,它显示出了 "Button",我猜是显示在旁边。有什么想法?

我使用的是 Xcode 14.2。

按钮旁边的图像上显示不需要的字符。

英文:

The button is set to a system image "plus" without any title, but somehow it displays, I guess, "Button" next to it. Any idea?

I'm on Xcode 14.2.

按钮旁边的图像上显示不需要的字符。

答案1

得分: 0

我在文本编辑器中打开了XIB文件,并删除了与“+”按钮相关的这行代码,现在UI上的文本已经消失。

<state key="normal" title="Button"/>

Xcode真是一个糟糕的集成开发环境...

英文:

I opened the XIB in the text editor and removed this line associated with the "+" button and now the text is gone from UI.

&lt;state key=&quot;normal&quot; title=&quot;Button&quot;/&gt;

Xcode is such a garbage IDE...

huangapple
  • 本文由 发表于 2023年3月7日 15:35:47
  • 转载请务必保留本文链接:https://go.coder-hub.com/75659107.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定