Re: [問題] 請教關於CollectionView上面的Button。
我做法跟你類似
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
→
08/08 02:46, , 1F
08/08 02:46, 1F
※ 編輯: 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
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 5 之 6 篇):
MacDev 近期熱門文章
PTT數位生活區 即時熱門文章