如何設置相應的MYimage.png爲MyimageView在Xcode 6與ios 8.x兼容性。iphone 6 vs iphone 5 image命名約定
MyimageView setImage:[UIImage imageNamed:@"MYimage.png"];
在資源,我有分辨率以下圖片:
MYimage.png--320*480
[email protected]*960
[email protected]*1136
[email protected]*1334
[email protected]*2208
對於iPhone 4S,它表明:[email protected] [Right]
對於iPhone 5S,它表明:[email protected] [wrong]
對於iPhone 6,顯示:[email protected] [wrong]
對於iPhone 6 +,它示出了:[email protected] [wrong]
但是重命名圖像之後如下所述:
MYimage.png--320*480
[email protected]*960
[email protected]*1136
[email protected]*1334
[email protected]*2208
對於iPhone 4S,它示出了:[email protected] [Right]
對於iPhone 5S,它示出了:[email protected] [wrong]
對於iPhone 6,它顯示了:[email protected] [wrong]
對於iPhone 6 +,它示出了:[email protected] [Right]
那麼,實現的格式是什麼?
注:另外一派以下Links等..
尺寸符號不應超過.png擴展名嗎? TBH,我從來沒有聽說過除了啓動圖像以外的任何其他尺寸符號。 – brandonscript 2014-10-02 12:42:58
@remus你能詳細說明'尺碼符號'嗎? – 2014-10-02 12:47:51