iOS Keeping Old Launch Screen and App Icon After Update

Launch Screen not working on iOS 14 with Xcode 12

So here are a lot of good ideas, but I was able to finally solve the issue - it is more like a workaround. I needed to store the picture outside the Images.xcassets folder and then it started to work again. This is a very weird issue.

What's the easiest way to update an old iOS app with a .xib launch screen for the AppStore's new storyboard requirement?

  1. When you submit with a soon-to-be deprecated toolchain, you should get a warning about the submission via email. I can't recall for sure, but I think that once the toolchain is deprecated, Apple's servers reject the submission when you try to upload it.
  2. If your .xib is as simple as you say, it's probably easier to just re-create it as a storyboard. In addition, you can very likely copy the view in the .xib and paste it into your storyboard.
  3. Apple updates their SDK requirements every year. In other words, last year about this time they updated to require Xcode 10. And the year before that, the started requiring Xcode 9. If your app was built with Xcode 8, that means it has remained in the app store through two of these toolchain deprecations. It will continue to remain in the app store when requirements change to Xcode 11 this year.

iOS 14 Launch Screen storyboard doesn't display images on iOS 14 devices

Here's how I was able to resolve this for others who can't use the new launch screen API due to design restrictions:

  1. Build using Xcode 11

  2. Convert any images used in the Launch screen to PNGs

  3. Rename the image assets in the catalog and update the
    references in the Storyboard as well (this is important!)

  4. Clear the splash screen cache by calling this at the beginning
    of didFinishLaunching (only in debug mode!):

  @try {
[[NSFileManager defaultManager] removeItemAtPath:[NSHomeDirectory() stringByAppendingString:@"/Library/SplashBoard"] error:&error];
} @catch (NSException *exception) {
NSLog(@"Failed to delete launch screen cache: %@", error);
}

after that my splash screen works on iOS 14 and prior as expected.



Related Topics



Leave a reply



Submit