看板 MacDev 關於我們 聯絡資訊
我做法跟你類似 UICollectionView *collection = (UICollectionView*) self.superview; [collection indexPathForCell:self].row 最後用 delegate 回傳值 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.226.154.68 ※ 文章網址: http://www.ptt.cc/bbs/MacDev/M.1407427092.A.09D.html
mraaa:是因為Cell還有其他元件所以不用didSelect嗎? 08/08 02:46
※ 編輯: lolicontrol (36.226.159.233), 08/08/2014 05:08:32 原po好像是要點 Cell 裡的 Button ※ 編輯: lolicontrol (36.226.159.233), 08/08/2014 05:10:46