阅读背景:

如何在UICollection中的UILabel中显示数组字符串

来源:互联网 
- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath{
  static NSString *cellIdentifier = @"Cell";
UICollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:cellIdentifier forIndexPath:indexPath];
UILabel *titleLabel = (UILabel *)[cell viewWithTag:100];
[titleLabel setText:@"String"];
    return cell;}
- (UICollectionViewCell *)collectionView:(UICol



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: