【发布时间】:2013-09-16 18:05:54
【问题描述】:
我将视图背景设置如下:
self.view.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:
@"backgr.png"]];
当我在 iphone 4(Retina 3.5-inch) 中运行它时它工作正常。 但是当我在 iphone 5(Retina 4-inch) 图像中运行它时未正确设置或显示。图像看起来像 4 倍放大/ 炸了。
编辑:
I have two different images for iphone 4(640x960) and 5(640x1136).
What is the problem here? Is it scaling problem or another problem?
Please guide me on this.
【问题讨论】:
标签: iphone background-image retina-display iphone-5