iOS7中的UICollectionView和willDisplayCell / SupplementaryView

时间:2015-07-23 21:49:55

标签: ios uitableview uiviewcontroller uicollectionview uicollectionviewcell

正如我在文档中看到的方法:

- (void)collectionView:(UICollectionView *)collectionView willDisplayCell:(UICollectionViewCell *)cell forItemAtIndexPath:(NSIndexPath *)indexPath NS_AVAILABLE_IOS(8_0);
- (void)collectionView:(UICollectionView *)collectionView willDisplaySupplementaryView:(UICollectionReusableView *)view forElementKind:(NSString *)elementKind atIndexPath:(NSIndexPath *)indexPath NS_AVAILABLE_IOS(8_0);

可以从ios8获得,我需要执行一些操作,然后SupplementaryView将开始在iOS7中显示。我怎样才能实现它?

0 个答案:

没有答案