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.
我将更新我的应用程序以显示视网膜。为此,我设置了带有@2x 后缀的图像名称。但 iPad 3 不加载高清图形。我也尝试使用后缀@2x~ipad,但没有任何运气。如何为 iPad3 设置视网膜图形?
@2x~ipad 后缀应该可以解决问题,可能还有其他问题。
加载图像时,请去掉后缀。例如,做
UIImage *image = [UIImage imageNamed:@"myImage"];
并不是
UIImage *image = [UIImage imageNamed:@"myImage.png"];