清理键盘emoji内存高的问题
This commit is contained in:
@@ -185,6 +185,15 @@
|
||||
[self updateSelectionToIndex:preserved];
|
||||
}
|
||||
|
||||
- (void)purgeEmojiCache {
|
||||
[self.dataProvider purgeLargeCaches];
|
||||
self.categories = @[];
|
||||
self.currentIndex = NSNotFound;
|
||||
self.titleLabel.text = @"";
|
||||
[self rebuildTabButtons];
|
||||
[self.collectionView reloadData];
|
||||
}
|
||||
|
||||
- (void)rebuildTabButtons {
|
||||
UIStackView *stackView = self.bottomBar.tabStackView;
|
||||
if (!stackView) { return; }
|
||||
|
||||
Reference in New Issue
Block a user