Open another storyboard
suggest changeThe storyboard name and the identifier must exist. as! crashes if that controller is not a YourViewController.
let storyboard = UIStoryboard(name: "StoryboardName", bundle: nil)
let vc = storyboard.instantiateViewController(withIdentifier: "ViewControllerID") as! YourViewController
self.present(vc, animated: true, completion: nil)
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents