swift使用Pod集成EaseUI后打开聊天界面报错
执行这段代码:
self.window = UIWindow.init(frame: UIScreen.main.bounds)
let dui_emId = "15991788992"
let vc = EMViewController.init(conversationChatter: dui_emId, conversationType: EMConversationTypeChat)
vc?.title = "你正在和15991788992聊天"
let nav = UINavigationController.init(rootViewController: vc!)
self.window?.rootViewController = nav
self.window?.makeKeyAndVisible()
self.window = UIWindow.init(frame: UIScreen.main.bounds)
let dui_emId = "15991788992"
let vc = EMViewController.init(conversationChatter: dui_emId, conversationType: EMConversationTypeChat)
vc?.title = "你正在和15991788992聊天"
let nav = UINavigationController.init(rootViewController: vc!)
self.window?.rootViewController = nav
self.window?.makeKeyAndVisible()
没有找到相关结果
已邀请:
4 个回复
性格随意、
wa172126691 - 90后女程序员一枚
KevinGong
http://www.imgeek.org/video/39
来测试sdk功能, 然后再去自己的项目中集成。
beyond - imgeek运营