我制作了自定义 TableCell 并将 Tableview
添加到 UIViewController
。我想将数据从 UITableViewController
的一个 View 发送到我在其中实现了 tableView
的 UIViewController
。我收到此错误:
最佳答案
在您的 Storyboard
中,您的 Segue 连接在 UITableViewCell
和 ViewController
之间,因为您将发送者作为 UITableViewCell
。要解决这个问题,只需删除 Segue
并创建一个从源 ViewController
到目标 ViewController
并设置相同的 segue 标识符,之后一切都会以你想要的方式工作。
关于ios - 发送数据时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40908160/