图像出现在模拟器中,但上传到 iPod touch (3.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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
检查文件名的大小写 - 设备比模拟器更挑剔,因此如果您在一个地方有一个名为 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.