Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b5a290a

Browse files
孟遥遥孟遥遥
孟遥遥
authored and
孟遥遥
committed
系统键盘和自定义键盘删除逻辑
1 parent 0cd167e commit b5a290a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎CocoaAsyncSocket_TCP/View/KeyBoard/ChatKeyboard.m

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,9 @@ - (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range r
486486
if ([text isEqualToString:@""""]) {
487487

488488
NSLog(@"----------------点击了系统键盘删除键");
489+
//系统键盘删除
490+
[self keyboardDelete];
491+
return NO;
489492
}
490493
return YES;
491494
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /