IOS應用在ios7(iPhone5/iPhone5s)上不能全螢幕顯示

來源:互聯網
上載者:User

標籤:view   檔案   cimage   對話   package   imageview   images   rate   ast   

前言

[IOS應用在iOS7系統或者iPhone5/iPhone5s上不能全螢幕顯示,應用畫面上下各有1條黑色,但是在其他系統或者型號的手機上卻是正常顯示


Paste_Image.png
Paste_Image.png解決方案第一步

點擊Launch Images Source後面的Use Asset Catalog按鈕,會彈出Migrate launch images to an asset catalog對話方塊,點擊Migrate按鈕後,會將Launch Images Source設定為LaunchImage


Paste_Image.png

或許你的不名字不是LaunchImage,但是也無所謂啦。

第二步

來到Images.xcassets檔案中剛剛產生的LaunchImage


Paste_Image.png第三步

找UI要圖片
最少要兩張圖,其規格如下:
6401136 pixels 640960 pixels

第四步

拖圖,將圖片拖進來就ok


Paste_Image.png大結局

清除工程,重新編譯,,,,OK

 

IOS應用在ios7(iPhone5/iPhone5s)上不能全螢幕顯示

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.