iPhone 应用程序替换图像

发布于 2024-09-24 22:31:06 字数 131 浏览 1 评论 0原文

我遇到了一个小问题。我在我的应用程序中使用了一些图像。今天我想把它们换成新的。但是当我构建并运行该项目时,我仍然得到旧的。我尝试接触该项目和新图像,但似乎没有任何效果。我删除了所有引用和文件并导入了新图像,但我仍然只看到旧图像。 有谁知道如何处理?

I got a little problem. I use some images in my app. Today I wanted to replace them with new ones. But when I build and run the project I still get the old ones. I tried to touch the project and the new images but nothing seems to work. I deleted all references and files and imported the new images, but I still see just the old ones.
Does anyone know how to handle that?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

誰認得朕 2024-10-01 22:31:06

试试这个:构建 ->清洁目标(我认为或类似的东西)

Try this: Build -> Clean Targets (i think or something like this)

撑一把青伞 2024-10-01 22:31:06

尝试清理你的目标并进行全新构建。 Xcode 可能没有正确更新目标中的文件(我已经看到它在复制文件构建阶段经常这样做)。

Try cleaning your target and doing a fresh build. Xcode is probably not updating the files in the target properly (I've seen it do that a lot with the Copy Files build phase).

近箐 2024-10-01 22:31:06

尝试从模拟器或 iOS 设备中删除该应用程序并重新安装。

Try deleting the app from the simulator or your iOS device and reinstall it.

水水月牙 2024-10-01 22:31:06

首先我必须解决这个问题......你确定案例匹配吗?

对于答案:
模拟器:清理所有目标,清理,重置模拟器,然后重试
设备:清理所有目标、清理、删除应用程序、重新安装

First of all I have to get this question out of the way.... did you make sure that the cases match?

For the answer:
Simulator: clean all targets, clean, Reset the simulator and then try again
Device: clean all targets, clean, delete the app, reinstall

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文