Weird behavior with View Controllers.

Hey there. I'm new to Swift iOS development. I'm getting a weird behavior after showing a view controller with the following code;


let vc = self.storyboard?.instantiateViewController(withIdentifier: "SecondView")

self.present(vc!, animated: true, completion: nil)


I have 2 views, the first default view controller where I place the above code, and the second view controller, I just execute the application and execute that code showing the second view, then I finish the application, but when I reopen the application, the second view appears fast before the first view controller shows up. Does anyone know what am I doing wrong?


Thanks and aprecciate any help, and I'm really sorry for my english, I'm not native.