fix 中文乱码

This commit is contained in:
lianxiang
2018-09-08 12:47:27 +08:00
parent fdee3e47f4
commit 7685ce516e
3 changed files with 10 additions and 9 deletions
@@ -34,7 +34,7 @@ static const CGFloat kInputViewH = 44.f;
-(void)creatInputView{
UIView *commitView =[[UIView alloc] initWithFrame:CGRectMake(0, self.bounds.size.height - kInputViewH, self.bounds.size.width, kInputViewH)];
UIView *commitView =[[UIView alloc] initWithFrame:CGRectMake(0, self.bounds.size.height - kInputViewH - PhoneX_BottomMargin, self.bounds.size.width, kInputViewH)];
self.commitInputView = commitView;
self.commitInputView.backgroundColor = GIGARGB(241, 241, 241, 1);
@@ -170,7 +170,7 @@ static const CGFloat kInputViewH = 44.f;
- (void) keyboardWillHide:(NSNotification *)note
{
self.commitInputView.frame = CGRectMake(0, self.bounds.size.height - kInputViewH, self.bounds.size.width, kInputViewH);
self.commitInputView.frame = CGRectMake(0, self.bounds.size.height - kInputViewH - PhoneX_BottomMargin, self.bounds.size.width, kInputViewH);
}
- (void)dealloc