Skip to content

Commit

Permalink
修改细节
Browse files Browse the repository at this point in the history
  • Loading branch information
tianliangyihou committed Jan 24, 2018
1 parent 315f615 commit d5d5a77
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ - (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPa
[items addObject:item];
}
// 这里只要你开心 可以无限addBlock
weak_self;
[[[[[LBPhotoBrowserManager defaultManager] showImageWithLocalItems:items selectedIndex:indexPath.row fromImageViewSuperView:collectionView] addLongPressShowTitles:@[@"保存图片",@"删除",@"识别二维码",@"取消"]] addTitleClickCallbackBlock:^(UIImage *image, NSIndexPath *indexPath, NSString *title) {
LBPhotoBrowserLog(@"%@",title);
// 这里的indexPath 指的是 这个title 在 @[@"保存图片",@"删除",@"识别二维码",@"取消"] 中的位置,如果想取在当前展示图片在collectionView中的位置,使用[LBPhotoBrowserManager defaultManager].currentPage
Expand Down

0 comments on commit d5d5a77

Please sign in to comment.