【发布时间】:2015-12-15 04:48:57
【问题描述】:
我现在升级到 iOS9 的 iPad Pro 模拟器,现在我得到一个重复的背景。为了让图像在 iPad Pro 上正确展开,我必须做些什么新的事情吗?我的图片尺寸没有新的启动图片,所以我迷路了。
- (void)addBackgroundImage:(NSString*)imageName {
UIColor *image = [[UIColor alloc] initWithPatternImage:[UIImage imageNamed:imageName]];
self.view.backgroundColor = image;
}
【问题讨论】:
标签: ios objective-c xcode background ios9