I changed "Launch Screen File" to my "Main.Storyboard" in settings. Before doing this app was working fine, and opened directly without any problem. But after adding this there was a black screen before the launch of storyboard. This is very bad user experience. Help me to solve this. AppDelegate and viewController has nothing big. I have a LaunchScreen.xib in project and also LaunchImage in image assets. I am using Storyboard in project. I don't want a launchScreen in my app, I just wanna directly go to my storyboard.
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
self.window = UIWindow(frame: UIScreen.mainScreen().bounds)
self.window?.rootViewController = utilitiesObjet.getViewController("MainVC", mainStoryBoardName: "Main")
self.window?.makeKeyAndVisible()
Fabric.with([Crashlytics.self()])
return true
}
I solved it by adding a LaunchScreen.StoryBoard, Instead of using a LaunchScreen.xib. Thank you All :)