Launch Image does not show up in my iOS App

前端 未结 28 1648
逝去的感伤
逝去的感伤 2020-12-02 04:11

I want to get a simple launch screen to show in my app, built using Xcode 6.0.1.

I have added a launch screen in two ways: As an XIB (with the default name, LaunchSc

28条回答
  •  渐次进展
    2020-12-02 04:52

    I tried opening a new project, and moving through the same steps you did to set a launch screen.

    By default, the .xib was set as "Launch Screen File," and the white screen with a label did show for half a second in the simulator.

    I then a "Launch Images Source" and set it to the Images.xcassets which generated with the background images I added to the project. (all good so far)

    Rerun the simulator and the launch images don't show...

    After deleting the specified "Launch Screen File" and a clean: Product -> Clean, from the top menu, the launch images finally show up.

    Maybe that will help?

提交回复
热议问题