Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
- if segue.identifier == "YourSegueId" {
- if let destinationVC = segue.destinationViewController as? YourViewController {
- destinationVC.yourProperty = "Some value"
- }
- }
- }
Add Comment
Please, Sign In to add comment