chat-ios
chat-ios copied to clipboard
swift两协议方法冲突
swift 同时遵守EMMultiDevicesDelegate,EMClientDelegate协议,添加代理的时候,都是调用EMClient.shared().add(self, delegateQueue: nil) ,导致报错Ambiguous use of 'add(_:delegateQueue:)'
已经在3.9.5新版本解决,addMultiDeviceDelegate
可以做一个中转类暂时,传client过去添加,暂时解决方案
好的