【发布时间】:2013-11-08 04:35:14
【问题描述】:
由于某种原因,当我以编程方式从资产目录中引用我的 4 英寸启动图像时,它没有被选中?它使用 3.5 的默认启动图像。有什么线索吗?
UIColor *image = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:@"LaunchImage"]];
self.view.backgroundColor = image;
【问题讨论】:
-
如果您尝试直接引用文件,它会加载正确的文件吗?
-
您是否尝试指定
LaunchImage-568h?这是目前 4" 所必需的。
标签: ios iphone xcode image asset-catalog