简体   繁体   中英

How to do a Gradient Layer on the Launch Screen Swift 3

I would like to do a gradient Layout in my Launch Screen programmatically. I've used gradient in viewControllers but I don't know how to do this on the launchscreen. Thanks.

The only way (I know) and is the easiest to get some fancy colors and designs to your LaunchScreen is to import an image and put a UIImageView to your LaunchScreen. Voila!

However, if you want to code it, then you can just make a blank LaunchScreen and present a UIViewController that serves as your second main LaunchScreen .

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