How do you debug an image with a splash screen not found?

When I launch the application on iPhone 5S, 6 or 6S, a popup appears. When I launch 6 Plus or 6s Plus, I don't see a popup, and I get this in Xcode logs:

WARNING: The splashscreen image named LaunchImage-800-Portrait-736h was not found

Here are the contents of mine AppRoot/Resources/Images.xcassets:

enter image description here

All devices and orientations that concern me are filled.

As you can see from googling, LaunchImage-800-Portrait-736hthis is the default name that Xcode looks for when it is not assigned an image name. How to make it just use the images listed in Images.xcassets?

+4
source share
2 answers

Plese see this image

Correct plugin plugin file names for asset catalog.

 1: 4.0 inch screen: Default-568h@2x.png
 2: 4.7 inch screen: Default-667h@2x.png
 3: 5.5 inch screen: Default-736h@3x.png
 4: Default.png 
0

FWIW, Meteor .meteor/local/cordova-build/platforms/ios/<App>/Images.xcass‌​ets/LaunchImage.laun‌​chimage/Contents.json:

{
  "images": [
    {
      "extent": "full-screen",
      "idiom": "iphone",
      "subtype": "736h",
      "filename": "Default-736h.png",
      "minimum-system-version": "8.0",
      "orientation": "portrait",
      "scale": "3x"
    }
    // more...
  ]
}

, , Meteor, , mobile-config.js:

App.launchScreens({
  iphone6p_portrait: "path/to/image/from/project/root", // (1242x2208)
  iphone6p_landscape: "path/to/image2/from/project/root" // (2208x1242)
});

. .

0

Source: https://habr.com/ru/post/1653408/


All Articles