簡體   English   中英

tableView didSelectCell不起作用

[英]tableView didSelectCell does not work

不管我在嘗試什么,都只是稱呼它而已。 我已經從情節numerOfItemInSection設置了所有delegationnumerOfItemInSectioncellForRowAtIndexPath也被調用。 但是沒有didSelect 有什么建議么?

好吧,有時候問題出在didSelectdidDeselect之間。 將方法更改為

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

遠射,可能會起作用。 祝好運!

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM