YahooArchive/YangMingShan

Selected cell count increase once more problem

Zener17 opened this issue · 1 comments

HI :) , Thanks for your source code, in use, I found a problem

  1. First select a cell, and then just press the selected cell, open (YMSSinglePhotoViewController.m)
  2. Click navigationItem.rightBarButtonItem@selector (selectCurrentPhoto :), after the previously selected cell count will increase once more
  3. I think maybe need (YMSPhotoPickerViewController.m) function - (BOOL) collectionView: (UICollectionView *) collectionView shouldSelectItemAtIndexPath: (NSIndexPath *) indexPath, add a condition
    if (cell.isSelected == YES) {
        return NO;
    }

Sorry, my english is poor..... ㄒ_ㄒ

Thanks for your feedback! We'll fix it soon.