来自 UITableView 的多个 unwind segues?

Multiple unwind segues from a UITableView?

我目前正在构建一个应用程序,它在三个不同的地方使用相同的 countryPickerTableView,但行为略有不同,因此我需要一种方法将三个不同的 unwind segues 连接到 tableview。问题是单元格只允许我选择一个放松动作。有解决办法吗?

将 segue 添加到 ViewController 而不是来自 Cell。从 ViewController 拖动以退出 Button 并添加 segue,然后添加标识符。然后在ViewController

中添加方法
self.performSegue(withIdentifier: "IDENTIFIER", sender: self)