self.collectionView.contentInset = UIEdgeInsetsMake(50,0,0,0);
UIImageView*imagev = [[UIImageViewalloc]initWithImage:[UIImage imageNamed:@"100.jpg"]];
imagev.frame = CGRectMake(0, -50,320,50);
[self.collectionView addSubview: imagev];
[self.view addSubview:_collectionView];
网友评论