图像出现在模拟器中,但上传到 iPod touch (3.0) 时不显示

发布于 2024-07-27 13:53:06 字数 272 浏览 4 评论 0原文

我使用图像(以及带有图像的按钮)创建了一个简单的测试应用程序,它在模拟器中运行良好。 但当上传到 iPod 时,没有出现任何图像。 按钮出现,但没有图像。

有几件事值得一提: - 今天的巨大成就是超越了代码签名错误,因此到目前为止我还没有将任何应用程序上传到设备。 IOW,这不是突然的变化。 - png 图像约为 100 x 200。 - 我还设置了一个图标图像(png 24 x 24),但它也出现。

预先感谢您的任何建议。

I created a simple test app with an image (as well as a button with an image) and it runs fine in the simulator. But when uploading to the iPod, none of the images appear. The button appears but with no image.

A few things worth mentioning:
- Today's massive achievement was making it beyond the code signing errors and so I have not had any applications uploaded to the device until now. IOW, it's not a sudden change.
- The png image is about 100 x 200.
- I also set an icon image (png 24 x 24) that does not appear either.

Thanks in advance for any advice.

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

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

发布评论

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

评论(1

冬天的雪花 2024-08-03 13:53:06

检查文件名的大小写 - 设备比模拟器更挑剔,因此如果您在一个地方有一个名为 foo.png 的文件,而在另一个地方有 Foo.png 或 foo.PNG ,则可能是这样。

Check the capitalization of your filenames--the devices are pickier than the simulator, so if you have a file named foo.png in one place and Foo.png or foo.PNG in another that could be it.

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