diff --git a/JPTagView.podspec b/JPTagView.podspec index 0db1e74..8821423 100644 --- a/JPTagView.podspec +++ b/JPTagView.podspec @@ -3,7 +3,7 @@ Pod::Spec.new do |s| s.name = "JPTagView" - s.version = "1.3.8" + s.version = "1.3.9" s.summary = "Customized tag pages." s.homepage = "https://github.com/baiyidjp/JPTagViewDemo" s.license = "MIT" diff --git a/JPTagView/JPTagView.m b/JPTagView/JPTagView.m index c69463f..b9abb88 100644 --- a/JPTagView/JPTagView.m +++ b/JPTagView/JPTagView.m @@ -167,6 +167,10 @@ - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cell cell.delegate = self; + if (!self.isCanSelectedMoreTag && tagModel.isSelected) { + self.selectedIndexPath = indexPath; + } + if (self.isCanLongPressShowDelete) { //add long press