UICollectionViewFlowLayout *flowLayout = [[UICollectionViewFlowLayout alloc] init];
// UICollectionViewLayoutAttributes *flowLayout=[[UICollectionViewLayoutAttributes alloc]init];
[flowLayout setItemSize:CGSizeMake(68,70)];
flowLayout.minimumLineSpacing=1;
flowLayout.minimumInteritemSpacing=1;
[flowLayout setScrollDirection:UICollectionViewScrollDirectionVertical];
flowLayout.sectionInset = UIEdgeInsetsMake(0, 0, 0, 0);
_collect=[[UICollectionView alloc]initWithFrame:CGRectMake(0, 288, 768, 710) collectionViewLayout:flowLayout];
[_collect registerClass:[CollectionCell class] forCellWithReuseIdentifier:@"collectID"];
[_collect setBackgroundColor:[UIColor colorWithRed:0.8 green:0.8 blue:0.8 alpha:1]];
_collect.dataSource=self;
[self.view addSubview:_collect];