1
This commit is contained in:
@@ -62,11 +62,8 @@ typedef NS_ENUM(NSInteger, KBGuideItemType) {
|
||||
make.left.right.equalTo(self.view);
|
||||
make.height.mas_equalTo(52);
|
||||
// 底部跟随键盘变化
|
||||
if (@available(iOS 11.0, *)) {
|
||||
self.inputBarBottom = make.bottom.equalTo(self.view.mas_safeAreaLayoutGuideBottom);
|
||||
} else {
|
||||
self.inputBarBottom = make.bottom.equalTo(self.view);
|
||||
}
|
||||
|
||||
}];
|
||||
|
||||
[self.textField mas_makeConstraints:^(MASConstraintMaker *make) {
|
||||
|
||||
Reference in New Issue
Block a user