3

I try to add a LaunchScreen in Xcode (Version 14.0.1) without using Storyboard.

I followed the Launch screens in Xcode: All the options explained article Chapter "Using a plist configuration"

1. I added an image asset named "LaunchScreen"

Image Asset

2. In Info.plist, I added the Key "Launch Screen" inside the "Information Property List"

Info.plist

3. I deleted “Launch screen interface file base name” Key in Custom iOS Target Properties

iOS Target Properties

Unfortunately the LaunchScreen is not shown at start up.

PascalS
  • 975
  • 1
  • 16
  • 40
  • Bro, I tried to reproduce your problem. It just behaves as the blog said. Could you please compare my project with yours? https://github.com/kasimok/73952666 – kakaiikaka Oct 10 '22 at 13:19
  • Sorry for the late response and thank you for the effort! But believe it or not, I just saw the launch image once in your sample project. Now I just see a black screen again. Sometimes after rebuild and clean up the project I see your launchScreen, but very distorted. – PascalS Oct 14 '22 at 16:37
  • Same behavior on a real device, but I mentioned a short flickering. Maybe the Launch Screen is just there for a few ms and disappears too early. Maybe this can not be reproduced in the simulator. I will go ahead with testing. – PascalS Oct 14 '22 at 16:43
  • Very interesting... The launch screen appearance seems to be different on different iPhone devices. iPhone 14Pro always shows black, iPhone 14Plus is very distorted and iPhone 14 works correctly. – PascalS Oct 14 '22 at 17:07
  • Yeah, as the author already said: "As of today, it seems that the feature is still a work in progress." Now I believe him, cause I have to change the bundle ID every time I want to make change to the launch screen on some machine. At least in Fall, 2022, it is still full of problems. – kakaiikaka Oct 16 '22 at 11:59

0 Answers0