优化键盘 预览宽度固定

This commit is contained in:
2025-11-21 13:48:22 +08:00
parent 31bb72c8f4
commit c371c7224e
2 changed files with 91 additions and 4 deletions

View File

@@ -39,7 +39,8 @@
[self addSubview:self.keyboardView];
[self.keyboardView mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.right.equalTo(self);
make.top.equalTo(self.topBar.mas_bottom).offset(4);
// make.top.equalTo(self.topBar.mas_bottom).offset(4);
make.height.mas_equalTo(200);
make.bottom.equalTo(self.mas_bottom).offset(-4);
}];