简体   繁体   中英

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM