Reputation: 55
I’m currently building an app that uses the same countryPickerTableView in three different places with slightly different behaviour, so I would need a way to connect three different unwind segues to the tableview. The problem is that the cell only allows me to pick one unwind Action. Is there a solution to this?
Upvotes: 1
Views: 322
Reputation: 337
Add segue to ViewController not from Cell. Drag from ViewController to exit Button and add segue, then add identifier. And then add method in ViewController
self.performSegue(withIdentifier: "IDENTIFIER", sender: self)
Upvotes: 1