【发布时间】:2016-02-07 13:45:49
【问题描述】:
无论我在尝试什么,都只是不要调用它。我已经从情节提要中设置了所有delegation,numerOfItemInSection 和cellForRowAtIndexPath 也被调用了。但没有didSelect。有什么建议吗?
【问题讨论】:
标签: ios swift uitableview didselectrowatindexpath
无论我在尝试什么,都只是不要调用它。我已经从情节提要中设置了所有delegation,numerOfItemInSection 和cellForRowAtIndexPath 也被调用了。但没有didSelect。有什么建议吗?
【问题讨论】:
标签: ios swift uitableview didselectrowatindexpath
嗯,有时问题是didSelect 和didDeselect 之间的混淆。
将您的方法更改为
func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
<#code#>
}
远射,可能行得通。祝你好运!
【讨论】: