我在 Xcode 中开发了一个 Universal 类型的应用程序。当我运行程序时,它会在 iPhone5 4 英寸模拟器中正确显示图像。但在我的设备上,图像没有加载。
if(UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone && [[UIScreen mainScreen] bounds].size.height * [UIScreen mainScreen].scale >= 1136)
{
image1.image = [UIImage imageNamed:@"Lifestyle12_iPhone5@2x.png"];
image2.image = [UIImage imageNamed:@"Lifestyle11_iPhone5@2x.png"];
image3.image = [UIImage imageNamed:@"Lifestyle10_iPhone5@2x.png"];
image4.image = [UIImage imageNamed:@"Lifestyle2_iPhone5@2x.png"];
image5.image = [UIImage imageNamed:@"LifeStyle1_iPhone5@2x.png"];
image6.image = [UIImage imageNamed:@"Lifestyle5_iPhone5@2x.png"];
image7.image = [UIImage imageNamed:@"APP_incipio_F38_iPhone5@2x.png"];
image8.image = [UIImage imageNamed:@"APP_incipio_BACKPACK_iPhone5@2x.png"];
}
请告诉我这个问题。
提前致谢。