2017-09-13 18 views
0

私のアプリのLaunchImageにimages.xcassetsを使用しています。特定のタイプのiPadは、指定されたiPadイメージではなく、起動時にiPhoneイメージまたはAppIconイメージを表示しています。ここでLaunchImageが特定のiPadsを正しく処理しない

Ipad 5th Generation 10.3 simulator

私のアプリのアイコンのスクリーンショットで、画像設定の下

enter image description here

私xcassetsファイルのContents.jsonのコードで起動します。

{ 
    "images" : [ 
    { 
     "extent" : "full-screen", 
     "idiom" : "iphone", 
     "subtype" : "736h", 
     "filename" : "ios_launch 7 plus.png", 
     "minimum-system-version" : "8.0", 
     "orientation" : "portrait", 
     "scale" : "3x" 
    }, 
    { 
     "extent" : "full-screen", 
     "idiom" : "iphone", 
     "subtype" : "667h", 
     "filename" : "ios_launch [email protected]", 
     "minimum-system-version" : "8.0", 
     "orientation" : "portrait", 
     "scale" : "2x" 
    }, 
    { 
     "orientation" : "portrait", 
     "idiom" : "iphone", 
     "filename" : "ios_launch se-1.png", 
     "extent" : "full-screen", 
     "minimum-system-version" : "7.0", 
     "scale" : "2x" 
    }, 
    { 
     "extent" : "full-screen", 
     "idiom" : "iphone", 
     "subtype" : "retina4", 
     "filename" : "ios_launch se.png", 
     "minimum-system-version" : "7.0", 
     "orientation" : "portrait", 
     "scale" : "2x" 
    }, 
    { 
     "orientation" : "portrait", 
     "idiom" : "ipad", 
     "filename" : "ios_launch ipad.png", 
     "extent" : "full-screen", 
     "minimum-system-version" : "7.0", 
     "scale" : "1x" 
    }, 
    { 
     "orientation" : "portrait", 
     "idiom" : "ipad", 
     "filename" : "ios_launch ipad pro.png", 
     "extent" : "full-screen", 
     "minimum-system-version" : "7.0", 
     "scale" : "2x" 
    } 
    ], 
    "info" : { 
    "version" : 1, 
    "author" : "xcode" 
    } 
} 

をなぜこれが起きているのか分かりません。これはiPad Airでは発生しません。私が手助けをしてくれたドキュメントはごくわずかです。私が得ることができるすべての助けを感謝する。

答えて

0

使用ストーリーボードを起動し、それぞれの画像を設定し、画像の縦横比を中央から調整します。

+0

ストーリーボードを使ってさまざまなデバイスに複数の画像を設定する方法がわかりません。あなたは正しい方向に私を向けることができますか? –

関連する問題