Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding view controller as launch screen

I am working on a launch screen where I want to add a progress bar. LaunchScreen.xib doesn't allows me to add a progress bar on the launch screen.

So is it possible to add a view controller as the launch screen for some time interval so I can add a progress bar on the launch screen of my project?

like image 541
Pradumna Patil Avatar asked Jun 01 '15 06:06

Pradumna Patil


People also ask

How do I add launch screen to Xcode 13?

If you create your iOS app from a storyboard template, Xcode adds a default launch screen file, called LaunchScreen. storyboard , to your project. Edit LaunchScreen. storyboard to configure your launch screen.


1 Answers

No,you can not. You can not add any logic code to it.

And also know that, at launch screen time. Your app is not launched at all. So your code about progress bar is not running.

I think the better way is using a launch screen first,then show a viewController with a progress bar as you like.

like image 166
Leo Avatar answered Oct 22 '22 04:10

Leo