Open khaledbohout2 opened 3 years ago
yes, use like: guard let vc1 = UIStoryboard(named: "myStoryboard", bundle: nil).instantiateInitialViewController() as? myviewcontroller else {return} insted let vc1 = UIViewController()
the only problem that I have is using navigation controller :/
yes, use like: guard let vc1 = UIStoryboard(named: "myStoryboard", bundle: nil).instantiateInitialViewController() as? myviewcontroller else {return} insted let vc1 = UIViewController()
the only problem that I have is using navigation controller :/