chengyanfang

3.0.6

@@ -95,12 +95,18 @@ class LoginVC: UIViewController { @@ -95,12 +95,18 @@ class LoginVC: UIViewController {
95 95
96 96
97 @IBAction func skipToHome(_ sender : UIButton) { 97 @IBAction func skipToHome(_ sender : UIButton) {
98 - if HHSDKOptions.default.mMessageOptions.isByPresent { 98 +
  99 + HHSDKOptions.default.mMessageOptions.isByPresent = true
  100 +
99 if let vc = HHMSDK.default.chatHomeVC() { 101 if let vc = HHMSDK.default.chatHomeVC() {
100 let nav = UINavigationController(rootViewController: vc) 102 let nav = UINavigationController(rootViewController: vc)
101 nav.modalPresentationStyle = .fullScreen 103 nav.modalPresentationStyle = .fullScreen
102 self.present(nav, animated: true, completion: nil) 104 self.present(nav, animated: true, completion: nil)
103 } 105 }
  106 +
  107 +
  108 + if HHSDKOptions.default.mMessageOptions.isByPresent {
  109 +
104 }else{ 110 }else{
105 HHMSDK.default.skipChatHome() 111 HHMSDK.default.skipChatHome()
106 } 112 }
@@ -40,6 +40,13 @@ @@ -40,6 +40,13 @@
40 40
41 ## 0. 更新日志 41 ## 0. 更新日志
42 42
  43 +
  44 +> 3.0.6.120416 (2020-12-04)
  45 +
  46 + - 删除项目中UIWebview的引用
  47 + - 适配不同版本的xcode
  48 +
  49 +
43 > 3.0.6 50 > 3.0.6
44 51
45 - HHMVideoDelegate增加getChatParentView(_ view : UIView),以便开发者在呼叫页面添加自定义view 52 - HHMVideoDelegate增加getChatParentView(_ view : UIView),以便开发者在呼叫页面添加自定义view