【问题标题】:tableView didSelectCell does not worktableView didSelect 单元格不起作用
【发布时间】:2016-02-07 13:45:49
【问题描述】:

无论我在尝试什么,都只是不要调用它。我已经从情节提要中设置了所有delegationnumerOfItemInSectioncellForRowAtIndexPath 也被调用了。但没有didSelect。有什么建议吗?

【问题讨论】:

    标签: ios swift uitableview didselectrowatindexpath


    【解决方案1】:

    嗯,有时问题是didSelectdidDeselect 之间的混淆。 将您的方法更改为

    func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
            <#code#>
        }
    

    远射,可能行得通。祝你好运!

    【讨论】:

      猜你喜欢
      • 2012-10-18
      • 1970-01-01
      • 2019-09-02
      • 2013-06-13
      • 1970-01-01
      • 1970-01-01
      • 2021-01-07
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多