Launch Image does not show up in my iOS App

前端 未结 28 1727
逝去的感伤
逝去的感伤 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条回答
  •  猫巷女王i
    2020-12-02 04:55

    There is a bug where Xcode 6 launch images stored in asset files cause iphone landscape only apps on iOS7/iOS8 to display a black launch image. iPad works fine.

    http://www.raywenderlich.com/forums/viewtopic.php?f=2&t=10868

    Solution: Use the new Launchscreen.xib for ios8+ onwards. (it is far better)

    For ios7 devices to work you simply turn off launch images source and use the old school launch images file names in the plist

    iphone5 - Default-568h@2x.png 
    iphone4s - Default@2x.png
    ipad2 - Default-Landscape~ipad.png
    ipad retina - Default-Landscape@2x~ipad.png
    

    Painful but works. B

提交回复
热议问题