I am a student and pretty new to programming. I am trying to learn Objective-C/Swift in my spare time. I made a game using spriteKit with swift that has multiple menus/scenes. <
For swift 3 you can replace
self.present(ViewController(), animated: false, completion: nil);
with
if let window = UIApplication.shared.keyWindow{ window.rootViewController = UINavigationController(rootViewController: ViewController()); }