TencentCloud / TIMSDK

Tencent Cloud Chat features a comprehensive suite of solutions including global access, one-to-one chat, group chat, message push, profile and relationship chain hosting, and account authentication.
https://trtc.io/products/chat
2.59k stars 2.76k forks source link

swift的初始化sdk的时候的问题,添加listenner为self时候,报错Type of expression is ambiguous without more context #975

Open zymjjobs opened 3 years ago

zymjjobs commented 3 years ago

issue标题:

平台: iOS,xcode12 ,swift5.0 sdk的版本: pod 'ISVImageScrollView', '~> 0.1.2' pod 'TXIMSDK_iOS', '~> 4.9.1' pod 'TXIMSDK_TUIKit_iOS': 我的问题: V2TIMManager.sharedInstance()?.initSDK(Int32(imsdkAppid), config: config, listener: self) swift的初始化sdk的时候的问题,添加listenner为self时候,报错Type of expression is ambiguous without more context

image

Tencent-Alice commented 3 years ago

您好,关于您的问题,查看可能由于您写法不正确导致的,您可以参考以下文档链接,参考初始化相关代码示例。https://cloud.tencent.com/document/product/269/44478 2E465700-1701-4359-8902-5706CECAEF1E 技术问题 欢迎交流 q2562367495 注明来意