简体   繁体   中英

The launch screen image not showing up on my ios app on the device

I have an ios app but am trying to add a launch image to the start. I am testing on an old ios 6 phone (which I think is the retina 4.7). I added the launch image in assets catalog like

在此处输入图片说明

I then have it mentioned like so:

在此处输入图片说明

When I run the app on my iPhone 6 device it has no load screen. What am I missing? I used to have a LaunchScreen.storyboard but I have all these images of the right size made and want to use those.

I've had this issue before and I believe it's a bug with Xcode. It will still be trying to use the LaunchScreen.storyboard file.

Try the following:

  1. Clean your project.
  2. Delete the app from the device/simulator.
  3. Restart Xcode/Simulator and re-run.

See https://stackoverflow.com/a/33698093/5032154 for more info.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM