From 126f59cbba2e1505c191b22c9794d810cdedb4c3 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期五, 24 四月 2020 15:39:05 +0800
Subject: [PATCH] 2020-04-24 1.优化远程连接和控制,增加远程连接让用户等待的Loading提示。

---
 Crabtree/ON.Ios/AppDelegate.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Crabtree/ON.Ios/AppDelegate.cs b/Crabtree/ON.Ios/AppDelegate.cs
index 6942a4c..813897b 100644
--- a/Crabtree/ON.Ios/AppDelegate.cs
+++ b/Crabtree/ON.Ios/AppDelegate.cs
@@ -192,14 +192,14 @@
         {
             Utlis.WriteLine ("OnResignActivation");
             //Shared.BusSocket.Stop ();
-            BusSocketStop ();
+            //BusSocketStop ();
         }
 
         public override void DidEnterBackground (UIApplication application)
         {
             SharedMethod.SharedMethod.IsBackground = true;
             Utlis.WriteLine ("DidEnterBackground");
-            //BusSocketStop ();
+            BusSocketStop ();
         }
 
         public override void WillEnterForeground (UIApplication application)
@@ -211,7 +211,7 @@
             UIApplication.SharedApplication.ApplicationIconBadgeNumber = 0;
             // Called as part of the transiton from background to active state.
             // Here you can undo many of the changes made on entering the background.
-            //BusSocketStart ();
+            BusSocketStart ();
         }
 
         public override void WillTerminate (UIApplication application)
@@ -225,7 +225,7 @@
             Utlis.WriteLine ("OnActivated");
             base.OnActivated (application);
 
-            BusSocketStart ();
+            //BusSocketStart ();
             ////鏈変簺绯荤粺鐗堟湰杩欓噷鍚姩姣旇鍥炬帶鍒跺櫒蹇�
             //if (!Shared.SimpleControl.MainPage.Showed) {
             //    System.Threading.Tasks.Task.Run (() => {

--
Gitblit v1.8.0