We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa99089 commit 5064bf0Copy full SHA for 5064bf0
1 file changed
Coding_iOS/Controllers/MeSetting/SettingTagsViewController.m
@@ -118,6 +118,10 @@ - (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPa
118
if ([tempArray containsObject:tagId]) {
119
[tempArray removeObject:tagId];
120
}else{
121
+ if (tempArray.count >= 10) {
122
+ [self showHudTipStr:@"用户个性标签不能超过10个"];
123
+ return;
124
+ }
125
[tempArray addObject:tagId];
126
}
127
[collectionView reloadItemsAtIndexPaths:[NSArray arrayWithObject:indexPath]];
0 commit comments