iosswiftlaunch-screen

how to remove(or not use) launch screen storyboard in xcode with swift


i make some app. the app does not using storyboard. only prommatically.

also i want to not using launch screen.

so, delete launch row in plist. The result is.... top and bottom screen is black space... and start black screen...

how to remove launch screen?? (or how to make launch screen using code prommatically?)

i want the app is ... app icontouch -> mainview(collectionview) -> window addsubviw loading animation(UIView Anima...)....-> dismiss -> mainview

now.... app icontouch -> launch screen!!!!! -> mainview(collectionview) -> window addsubviw loading animation(UIView Anima...).....-> dismiss -> mainview


Solution

  • You must have a launch screen, either provided by a storyboard or using images in an asset catalog. If you remove both of these then iOS will assume that your app doesn't support larger displays, which is why you are getting the black bars; your app is running in backward-compatibility mode.

    Since the launch screen is shown while your app is loading, it cannot be created programatically; your app isn't yet running.

    If you want to animate the launch screen then your need your launch storyboard scene or your launch image to be identical to your first view. You can then animate this first view