1

我有一个带有自定义页脚的 UICollectionView 我写道:

- (UICollectionReusableView*)collectionView:(UICollectionView *)collectionView viewForSupplementaryElementOfKind:(NSString *)kind atIndexPath:(NSIndexPath *)indexPath

{ FooterViewController页脚 = (FooterViewController )[collectionView dequeueReusableSupplementaryViewOfKind:UICollectionElementKindSectionFooter withReuseIdentifier:@"CollectionViewFooter" forIndexPath:indexPath];

return footer;

}

页脚内部有一个 UITextField 。如何从 CollectionViewViewController 访问它的值?

4

0 回答 0