My issues is that I am using the below code to return an images in collection view. ImageArray should return different number of images and claimImageArray should return different number of Images.But it does not work properly .Because it only display one image. Can anyone tell me what I did wrong in this ??
- (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section
{
if (collectionView==beforeParcelCollectionViews)
{
return [imageArray count];
}
if (collectionView == afterParcelCollectionView)
{
return [claimImagesArray count];
}
return 0;
}