Launch Image does not show up in my iOS App

前端 未结 28 1646
逝去的感伤
逝去的感伤 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 05:00

    For the people who are using the Asset Catalog's Launch Image, as I learned this the hardest way, I had this scenario where I was first given a jpg file then I asked them convert it to PNG.

    I trusted them enough that I scoured the internet first as to why the launch image wasn't showing and did every solution to no avail, then I tried putting back the old launch image and was working fine, it was there that I thought what I have is not a proper PNG file.

    TL;DR: Make sure that you are actually using a proper PNG file, not a file with a renamed extension.

提交回复
热议问题