Moo*_*tar 2 objective-c uicollectionviewcell
是否有任何方法可以将 UICollectionViewCell 设置为“不可选择”,或者是"didSelectItemAtIndexPath"通过查询正确的单元格类型的委托方法来执行此操作的唯一方法?
提前致谢。
UICollectionViewDelegate 有一个方法:shouldSelectItemAtIndexPath-> https://developer.apple.com/library/ios/documentation/UIKit/Reference/UICollectionViewDelegate_protocol/index.html#//apple_ref/occ/intfm/UICollectionViewDelegate/collectionView:shouldSelectItemAtIndexPath:
| 归档时间: |
|
| 查看次数: |
3035 次 |
| 最近记录: |