chengyanfang

3.0.6

... ... @@ -95,12 +95,18 @@ class LoginVC: UIViewController {
@IBAction func skipToHome(_ sender : UIButton) {
HHSDKOptions.default.mMessageOptions.isByPresent = true
if let vc = HHMSDK.default.chatHomeVC() {
let nav = UINavigationController(rootViewController: vc)
nav.modalPresentationStyle = .fullScreen
self.present(nav, animated: true, completion: nil)
}
if HHSDKOptions.default.mMessageOptions.isByPresent {
if let vc = HHMSDK.default.chatHomeVC() {
let nav = UINavigationController(rootViewController: vc)
nav.modalPresentationStyle = .fullScreen
self.present(nav, animated: true, completion: nil)
}
}else{
HHMSDK.default.skipChatHome()
}
... ...
... ... @@ -40,6 +40,13 @@
## 0. 更新日志
> 3.0.6.120416 (2020-12-04)
- 删除项目中UIWebview的引用
- 适配不同版本的xcode
> 3.0.6
- HHMVideoDelegate增加getChatParentView(_ view : UIView),以便开发者在呼叫页面添加自定义view
... ...