草庐IT

FooterCollectionReusableView

全部标签

ios - UICollectionView - 向页脚 View 添加操作

我有一个带有页脚View的UICollectionView。页脚View类是由我创建的。页脚View是我想要执行操作的按钮。我试图添加一个Action,但当我按下按钮时没有任何反应。请帮助我。我的代码:FViewController.m-(UICollectionReusableView*)collectionView:(UICollectionView*)collectionViewviewForSupplementaryElementOfKind:(NSString*)kindatIndexPath:(NSIndexPath*)indexPath{UICollectionReusa