I am not sure what is going on here in my app delegate I done this code show my service view
func showServiceStartView()
{
self.window = UIWindow(frame: UIScreen.mainScreen().bounds)
let storyBoard : UIStoryboard = UIStoryboard(name: "Main", bundle: nil)
let secondViewController = storyBoard.instantiateViewControllerWithIdentifier("SERVICE_START_VC_ID")
self.window!.rootViewController = secondViewController
self.window!.makeKeyAndVisible()
}
But it gives me weird behaviour. When view switch then it shows extra overlay for few second then go away. But I don't want extra overlay.
http://giphy.com/gifs/l0MYFCQ3LwV8r90m4
i am working flowing this one Programmatically set the initial view controller using Storyboards