ios环信集成调用ChatViewController崩溃
大家好,我刚集成完环信demo进公司的项目,证书也没上传,一句代码也没添加,调用ChatViewController直接崩溃。请问可能是什么原因
这是调用的代码
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
ChatViewController *chat = [[ChatViewController alloc]initWithChatter:@"test2" isGroup:NO];
[self presentViewController:chat animated:YES completion:nil];
}
报错原因是
[EMDeviceManager _setupNetworkMonitor]: unrecognized selector sent to instance 0x1036d720
是否需要先上传证书,并在appdelegate中加入代码?
这是调用的代码
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{
ChatViewController *chat = [[ChatViewController alloc]initWithChatter:@"test2" isGroup:NO];
[self presentViewController:chat animated:YES completion:nil];
}
报错原因是
[EMDeviceManager _setupNetworkMonitor]: unrecognized selector sent to instance 0x1036d720
是否需要先上传证书,并在appdelegate中加入代码?
没有找到相关结果
已邀请:
1 个回复
[已注销]