Launch Image does not show up in my iOS App

前端 未结 28 1676
逝去的感伤
逝去的感伤 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:54

    Xcode 8:

    Images used in LaunchScreen.xib should not be on a .xcassets, try dropping them in the bundle.

    Looks like that by the time that the .xib gets loaded, the images in the .xcassets are not yet available.

    EDIT: For some opaque reason after adding some localizations, launch screen stopped working, now it works with an image from the assets, extremely weird.

提交回复
热议问题