iOS 15 LaunchScreen.storyboard do not show on iPhone 11 series

I use react-native to develop an APP and use LaunchScreen.storyboard to show an launch screen . It works on iPhone 12 series (include iPhone 12 mini ) and iPhone 13 series and even if iPhone 8 series ,in those simulator I CAN see the launch screen ,but it was very confuse that when I run my APP on iPhone 11 series and iPhone X(Xcode13 do not have iPhone X simulator),the launch screen is white or blank ,I test it on the physical iPhone X but it still come to a blank screen .

why some simulator are good and only 11 series have problem .

Xcode version is 13 iOS version is 15

here is my LaunchScreen.storyboard:

  "images" : [
    {
      "filename" : "iPhone12.png",
      "idiom" : "universal",
      "scale" : "1x"
    },
    {
      "filename" : "iPhone12.png",
      "idiom" : "universal",
      "scale" : "2x"
    },
    {
      "filename" : "iPhone12MAX.png",
      "idiom" : "universal",
      "scale" : "3x"
    },
    {
      "filename" : "iPhone5.png",
      "idiom" : "iphone",
      "scale" : "1x",
      "subtype" : "retina4"
    },
    {
      "filename" : "iPhone5.png",
      "idiom" : "iphone",
      "scale" : "2x",
      "subtype" : "retina4"
    },
    {
      "filename" : "iPhone5.png",
      "idiom" : "iphone",
      "scale" : "3x",
      "subtype" : "retina4"
    },
    {
      "filename" : "iPhone8P.png",
      "idiom" : "iphone",
      "scale" : "3x",
      "subtype" : "736h"
    },
    {
      "filename" : "iPhone8.png",
      "idiom" : "iphone",
      "scale" : "2x",
      "subtype" : "667h"
    },
    {
      "filename" : "iPhone11P.png",
      "idiom" : "iphone",
      "scale" : "3x",
      "subtype" : "2436h"
    },
    {
      "filename" : "iPhoneXSMAX.png",
      "idiom" : "iphone",
      "scale" : "3x",
      "subtype" : "2688h"
    },
    {
      "filename" : "iPhone11.png",
      "idiom" : "iphone",
      "scale" : "2x",
      "subtype" : "1792h"
    }
  ],
  "info" : {
    "author" : "xcode",
    "version" : 1
  }
}

and all the picture have right size

  • and it was normal before ios update to 15

Add a Comment

Replies

Check your info.plist (you could post it here).

Did you define a Scene Manifest in info.plist ?

  • i've post my plist file on the answer ,pls

Add a Comment
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>CFBundleDevelopmentRegion</key>
	<string>zh_CN</string>
	<key>CFBundleDisplayName</key>
	<string>slags</string>
	<key>CFBundleExecutable</key>
	<string>$(EXECUTABLE_NAME)</string>
	<key>CFBundleIdentifier</key>
	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleName</key>
	<string>$(PRODUCT_NAME)</string>
	<key>CFBundlePackageType</key>
	<string>APPL</string>
	<key>CFBundleShortVersionString</key>
	<string>$(MARKETING_VERSION)</string>
	<key>CFBundleSignature</key>
	<string>????</string>
	<key>CFBundleURLTypes</key>
	<array>
		<dict>
			<key>CFBundleTypeRole</key>
			<string>Editor</string>
			<key>CFBundleURLName</key>
			<string>Alipay</string>
			<key>CFBundleURLSchemes</key>
			<array>
				<string>ali2021001179631535</string>
			</array>
		</dict>
	</array>
	<key>CFBundleVersion</key>
	<string>$(CURRENT_PROJECT_VERSION)</string>
	<key>ITSAppUsesNonExemptEncryption</key>
	<false/>
	<key>LSApplicationQueriesSchemes</key>
	<array>
		<string>alipay</string>
		<string>wechat</string>
		<string>weixin</string>
	</array>
	<key>LSRequiresIPhoneOS</key>
	<true/>
	<key>NSAppTransportSecurity</key>
	<dict>
		<key>NSAllowsArbitraryLoads</key>
		<true/>
		<key>NSExceptionDomains</key>
		<dict>
			<key>localhost</key>
			<dict>
				<key>NSExceptionAllowsInsecureHTTPLoads</key>
				<true/>
			</dict>
		</dict>
	</dict>
	<key>NSCameraUsageDescription</key>
	<string>xxxx</string>
	<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
	<string>xxxx</string>
	<key>NSLocationWhenInUseUsageDescription</key>
	<string>xxxx</string>
	<key>NSMicrophoneUsageDescription</key>
	<string>xxxx</string>
	<key>NSPhotoLibraryUsageDescription</key>
	<string>xxxx</string>
	<key>UIAppFonts</key>
	<array>
		<string>AntDesign.ttf</string>
		<string>Entypo.ttf</string>
		<string>EvilIcons.ttf</string>
		<string>Feather.ttf</string>
		<string>FontAwesome.ttf</string>
		<string>FontAwesome5_Brands.ttf</string>
		<string>FontAwesome5_Regular.ttf</string>
		<string>FontAwesome5_Solid.ttf</string>
		<string>Fontisto.ttf</string>
		<string>Foundation.ttf</string>
		<string>Ionicons.ttf</string>
		<string>MaterialCommunityIcons.ttf</string>
		<string>MaterialIcons.ttf</string>
		<string>Octicons.ttf</string>
		<string>SimpleLineIcons.ttf</string>
		<string>Zocial.ttf</string>
		<string>iconfont.ttf</string>
	</array>
	<key>UILaunchStoryboardName</key>
	<string>LaunchScreen</string>
	<key>UIRequiredDeviceCapabilities</key>
	<array>
		<string>armv7</string>
	</array>
	<key>UISupportedInterfaceOrientations</key>
	<array>
		<string>UIInterfaceOrientationPortrait</string>
	</array>
	<key>UIViewControllerBasedStatusBarAppearance</key>
	<false/>
</dict>
</plist>

did i missing something?

  • I am also facing the same issue.. I am using XCode 13.3 and running my application in iPhone 11 having iOS 15.4. Background images are not getting loaded in iPhone 11 series whereas it is getting loaded in 1Phone 12 series. Please let me know if you found any solution for this issue

Add a Comment

i fixed it like this

if iphonex-iphone11 will load the first image