【发布时间】:2019-04-17 18:14:15
【问题描述】:
当用户单击tableView 单元格时,我正在尝试实现,选择的cell 值需要pass 详细信息viewcontroller。在这里,我通过storyboard 建立的transition 连接(不是以编程方式)并呈现我使用的模态转换。
我想知道怎么做,所以举个例子吧。
override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
// here I need implement get selected index path and passing values to another vc
}
【问题讨论】:
-
你好@matt 你应该先完整阅读我的问题。我要求 Swift 并提出模态转换。您的重复引用不同的过渡也是客观的C。请删除您的标记。它将帮助很多像我这样的开发人员。
标签: ios swift uitableview storyboard segue