How to navigate one screen to other screen in Swift 4
Navigate
And back screen
let screenTwo = self.storyboard?.instantiateViewController(withIdentifier: "ScreenTwo") as! ScreenTwo
self.navigationController?.pushViewController(screenTwo, animated: true)
And back screen
self.navigationController?.popViewController(animated: true)
Comments
Post a Comment