处理键盘图片和自定义文字同时存在的bug

This commit is contained in:
2025-11-19 16:13:30 +08:00
parent cc55bb107a
commit 4108aed4e0
2 changed files with 20 additions and 7 deletions

View File

@@ -298,6 +298,8 @@
KBKeyButton *btn = [[KBKeyButton alloc] init];
btn.key = key;
[btn setTitle:key.title forState:UIControlStateNormal];
//
[btn applyThemeForCurrentKey];
[btn addTarget:self action:@selector(onKeyTapped:) forControlEvents:UIControlEventTouchUpInside];
[row addSubview:btn];