Skip to content

Commit

Permalink
Merge pull request #170 from lixm1988/main
Browse files Browse the repository at this point in the history
update version & update shouldChangeTextInRange delegate in EaseChatV…
  • Loading branch information
lixm1988 authored Feb 9, 2023
2 parents dc1d775 + 72e84df commit da352d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion EaseIMKit.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'EaseIMKit'
s.version = '3.9.9'
s.version = '4.0.0'
s.summary = 'easemob im sdk UIKit'
s.homepage = 'http://docs-im.easemob.com/im/ios/other/easeimkit'
s.description = <<-DESC
Expand Down
2 changes: 1 addition & 1 deletion EaseIMKit/EaseIMKit/Classes/Chat/EaseChatViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ - (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView

#pragma mark - EMChatBarDelegate

- (BOOL)textView:(UITextView *)textView shouldngeTextInRange:(NSRange)range replacementText:(NSString *)text
- (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text
{
if (self.delegate && [self.delegate respondsToSelector:@selector(textView:shouldChangeTextInRange:replacementText:)]) {
BOOL isValid = [self.delegate textView:textView shouldChangeTextInRange:range replacementText:text];
Expand Down

0 comments on commit da352d7

Please sign in to comment.