[Solved] How do I programmatically pull up a different storyboard when a button is clicked in Swift 4? [duplicate]


You can do it programatically this way:

Swift 3+

   let storyboard = UIStoryboard(name: "StoryboardName", bundle: nil)
   let vc = storyboard.instantiateViewController(withIdentifier: "ViewControllerID") as UIViewController
   present(vc, animated: true, completion: nil)

2

solved How do I programmatically pull up a different storyboard when a button is clicked in Swift 4? [duplicate]