iOS 9 Splash screen is black

前端 未结 16 1024
既然无缘
既然无缘 2021-01-30 20:18

My apps\' splash screens are all plain black after upgrading to iOS9.

Does anybody know why this is? Some of them are using a .xib splash screen and some are using image

相关标签:
16条回答
  • 2021-01-30 20:36

    Easy fix. No need to mess with anything. Xcode 7 just prefers the images to be "Universal".

    1. Click on Assets.xcassets folder
    2. Click the + sign to Import from Project.
    3. Select all images

    Done. Now your launch screen works and Xcode is happier.

    0 讨论(0)
  • 2021-01-30 20:44
    1. Black screen default come because, iOS strictly enforces some a startup images it can be black or any images.
    2. Use UILaunchImages key to the Info.plist file and use a dictionary to describe each launch image.
    3. check following references
      • A launch storyboard or xib must be provided unless the app requires full screen
      • I am using xcode7.1 it works. Please download latest xcode7.1

    I hope above information will help you.

    0 讨论(0)
  • 2021-01-30 20:44

    Starting from iOS9 and Xcode 7 you are required to provide a LaunchScreen.storyboard for your launch screen in order to support the new multitasking feature on iPad.

    To opt out of being eligible to participate in Slide Over and Split View, add the UIRequiresFullScreen key to your Xcode project’s Info.plist file and apply the Boolean value YES.

    0 讨论(0)
  • 2021-01-30 20:46

    I had the exact problem and had a black launch screen after using Xcode 7, and at first re-adding the images in Launch-Screen.xib worked but it went black again.

    I fixed this permanently by moving the images referenced by Launch-Screen.xib into an asset catalog, rather than using the png filenames.

    0 讨论(0)
提交回复
热议问题