![](/img/trans.png)
[英]Get a button inside tableview cell to run the same as didSelectCell
[英]tableView didSelectCell does not work
不管我在嘗試什么,都只是稱呼它而已。 我已經從情節numerOfItemInSection
設置了所有delegation
, numerOfItemInSection
和cellForRowAtIndexPath
也被調用。 但是沒有didSelect
。 有什么建議么?
好吧,有時候問題出在didSelect
和didDeselect
之間。 將方法更改為
func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
<#code#>
}
遠射,可能會起作用。 祝好運!
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.