Scroll 滚动时uicollectionview的最后一行不可见

Scroll 滚动时uicollectionview的最后一行不可见,scroll,collectionview,Scroll,Collectionview,我以编程方式创建了UiCollectionView。这是我的代码片段 UICollectionViewFlowLayout*布局=[[UICollectionViewFlowLayout alloc]init]; collectionV=[[UICollectionView alloc]initWithFrame:CGRectMake(0,0320500)collectionViewLayout:layout] [collectionV setDataSource:self]; [collect

我以编程方式创建了UiCollectionView。这是我的代码片段

UICollectionViewFlowLayout*布局=[[UICollectionViewFlowLayout alloc]init]; collectionV=[[UICollectionView alloc]initWithFrame:CGRectMake(0,0320500)collectionViewLayout:layout]

[collectionV setDataSource:self];
[collectionV setDelegate:self];
[collectionV registerClass:[UICollectionViewCell class] forCellWithReuseIdentifier:@"cellIdentifier"];
[collectionV setBackgroundColor:[UIColor greenColor]];
collectionV.scrollEnabled = YES;
[self.view addSubView:CollectionV]

我的问题是滚动时看不到最后一行。谁来帮我修一下。 提前谢谢