Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个通过界面生成器设置图像的按钮。原始图像是 SearchImage.png,高 rez 版本是 SearchImage@2x.png。我绝对确定没有拼写错误,并且高分辨率图像确实是低分辨率图像的两倍(即高两倍,宽两倍),但办公室的 iPhone4 仍然只加载低分辨率图像。
有谁知道问题可能是什么?
我已阅读所有相关的 Apple 文档。
谢谢!特里斯坦
只需分配图像属性“SearchImage.png”并在主包中包含 SearchImage.png 和 SearchImage@2x.png,它将加载正确的图像。
请参阅https://devforums.apple.com/message/233916#233916。