How to navigate one screen to other screen in Swift 4

Navigate

        let screenTwo = self.storyboard?.instantiateViewController(withIdentifier: "ScreenTwo") as! ScreenTwo

        self.navigationController?.pushViewController(screenTwo, animated: true)

And back screen


self.navigationController?.popViewController(animated: true)

Comments

Popular posts from this blog

Windows Keys

how to send invite and give a access of selected application on App Store

how to display popover in TableView cell in swift