小编tfc*_*amp的帖子

如何在xcode代码中显示图像标题而不是图标?

[在这里输入图像描述] [1]我正在写一个非常简单的线,但是我很难看到我实际写的是什么,因为我的图像标题在xcode中显示为一个图标.

我希望看到它:

thing.image = picture.png
Run Code Online (Sandbox Code Playgroud)

但我认为它是:

thing.image = an actual icon is here in the code for some weird purpose I can't understand
Run Code Online (Sandbox Code Playgroud)

我搜索没有运气.任何帮助是极大的赞赏.谢谢!

**编辑:我假设它是一个图标占位符...它显示为一个小白框.

**编辑:这是我的代码看起来如何:https: //i.stack.imgur.com/BGYvb.png

xcode icons image ios swift

5
推荐指数
2
解决办法
941
查看次数

标签 统计

icons ×1

image ×1

ios ×1

swift ×1

xcode ×1