2014-09-22 60 views

回答

0

添加視網膜圖像用「@ 2X」的文件名和鈦將自動顯示,如果OS是視網膜,例如如果您的圖片是「example.png」,請添加名爲「[email protected]」的圖片。

這裏有一個很好的解釋:http://fokkezb.nl/2013/09/17/smarter-image-paths/

我找不到鏈接到鈦文檔很遺憾,但我敢肯定,這說明某處有...

編輯:感謝@Dragon爲the docs link

+1

正確的菲爾,[這裏](http://docs.appcelerator.com/titanium/3.0/#!/guide/Icons_and_Splash_Screens)是文檔鏈接。 – Dragon 2014-09-22 04:49:05

+0

謝謝@Dragon :) – phil 2014-09-22 09:04:38

+0

謝謝你們。如果我專門指定文件名: 背景圖片:「圖像/ 1X/example.png」 它怎麼會知道使用 背景圖片:「images/2x/[email protected]」 – bobo2000 2014-09-22 21:25:21