UIImageView missing images in Launch Screen on device

后端 未结 30 1846
遇见更好的自我
遇见更好的自我 2020-11-30 16:39

I have an app that supports iOS8 and later, built in Xcode 7 and I am using a XIB for a Launch Screen (I do not have launch images). The view contains a single UILabel with

相关标签:
30条回答
  • 2020-11-30 17:24

    I think launchscreen only support image in Assets.xcassets.

    0 讨论(0)
  • 2020-11-30 17:24

    Also can 1. delete project image 2. change image name 3. add file image to project

    It worked for me.

    0 讨论(0)
  • 2020-11-30 17:26

    I was seeing the same problem. Rebooting the device (iPhone 6) and rebuilding the app to the device is the only thing that fixed it. I tried many other tips and suggestions but nothing else worked. Only reboot + rebuild helped.

    0 讨论(0)
  • 2020-11-30 17:26

    My solution @iOS 11.x:

    • Use .jpg image instead of .png. I think image file size matters;
    • (Optionally) Put image file in project directory rather than .xcassets;
    0 讨论(0)
  • 2020-11-30 17:26

    What worked for me was to select Reset Content and Settings... from the Simulator menu

    0 讨论(0)
  • 2020-11-30 17:27

    Bring images out of Image.xcassets and add them again to project. It worked for me.

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