, - , , , , , , . , :
UIImageView *photoView1 = (UIImageView*)recogniser.view;
[view1 addSubview:photoView1];
1.
UIImageVIew .
:
imgview = (UIImageView *)[cell viewWithTag:100];
imgview = [[UIImageView alloc]initWithFrame:CGRectMake(0,0,160, 160)];
. , .
subviews cellForItemAtIndexPath, . , , . , , UIImageView. , CollectionView :
-(void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath
You can replace your expandImage method , inside which you simply get your image with imagearray . And finally, this beautiful library is ready for you, MHFacebookImageViewer .
source
share