注册

IOS集成环信聊天界面ui,出问题

2015-07-30 10:38:54.672 FindYou[1329:343223] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[EaseMob callManager]: unrecognized selector sent to instance 0x7f9fc8e30c60'

*** First throw call stack:
进入ChatViewController界面就奔溃 ,崩溃信息如上。请问这是怎么回事:    ChatViewController *chatVC = [[ChatViewController alloc] initWithChatter:@"zhangsan" conversationType:eConversationTypeChat];
    chatVC.delelgate = self;

    [self.navigationController pushViewController:chatVC animated:YES];也设置了代理的。
已邀请:
你项目中应该是Lite这个.a库。callManager是实时语音相关的,你没用到的话就在代码中注掉。如果用到了,就删掉Lite保留SDK.a这个。
ChatViewController *chatController = [[ChatViewController alloc]initWithConversationChatter:@"123456" conversationType:EMConversationTypeChat];

        [wself.navigationController pushViewController:chatController animated:YES];
不能直接进入到聊天界面吗?每次进入都说我主线程有问题

要回复问题请先登录注册