This commit is contained in:
2025-11-17 20:26:39 +08:00
parent 005e3c7581
commit 26ef29ac4e
5 changed files with 10 additions and 8 deletions

View File

@@ -413,6 +413,7 @@ typedef NS_ENUM(NSInteger, KBSearchSection) {
_collectionView.backgroundColor = [UIColor whiteColor];
_collectionView.dataSource = self;
_collectionView.delegate = self;
_collectionView.keyboardDismissMode = UIScrollViewKeyboardDismissModeOnDrag;
// cell & header
[_collectionView registerClass:KBTagCell.class forCellWithReuseIdentifier:kTagCellId];
[_collectionView registerClass:KBSkinCardCell.class forCellWithReuseIdentifier:kSkinCellId];