思路是进入聊天页面把三方的键盘 SDK 功能关闭;退出聊天页面再把三方的键盘 SDK 恢复
下面的例子为如何兼容 IQKeyboardManager
使用 RCConversationViewController 的继承类中添加如下方
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
[IQKeyboardManager sharedManager].enable = NO;
[IQKeyboardManager sharedManager].enableAutoToolbar = NO;
}
- (void)viewWillDisappear:(BOOL)animated {
[super viewWillDisappear:animated];
[IQKeyboardManager sharedManager].enable = YES;
[IQKeyboardManager sharedManager].enableAutoToolbar = YES;
}