From e87985ec1dcb69beedaf9f95e8e7aba14b7c08d6 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期三, 09 十二月 2020 18:50:14 +0800 Subject: [PATCH] 2020-12-09 1.信息中心,增加下划线和点击Alter提醒详情。 --- HDL-ON_iOS/AppDelegate.cs | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/HDL-ON_iOS/AppDelegate.cs b/HDL-ON_iOS/AppDelegate.cs index 652593e..c10be06 100644 --- a/HDL-ON_iOS/AppDelegate.cs +++ b/HDL-ON_iOS/AppDelegate.cs @@ -166,7 +166,7 @@ { Console.WriteLine("OnResignActivation"); OnAppConfig.Instance.unlockTime = DateTime.Now; - //BusSocket.Stop(); + HDL_ON.DriverLayer.UdpSocket._BusSocket.Stop(); } public override void DidEnterBackground(UIApplication application) @@ -179,10 +179,11 @@ public override void WillEnterForeground(UIApplication application) { SharedMethod.SharedMethod.IsBackground = false; - //BusSocket.Start(); + HDL_ON.DriverLayer.UdpSocket._BusSocket.Start(); new AppUnlockPage().LoadPage(); Console.WriteLine("WillEnterForeground"); UIApplication.SharedApplication.ApplicationIconBadgeNumber = 0; + HDL_ON.DriverLayer.Control.Ins.SearchLoaclGateway(); } public override void WillTerminate(UIApplication application) @@ -285,7 +286,8 @@ var expandData = ""; if (userInfo.ContainsKey(new NSString("expandData"))) { - expandData = userInfo["expandData"] as NSString; + var expandDataNSD = userInfo["expandData"] as NSDictionary; + expandData = expandDataNSD["messageType"] as NSString; } var pushMes = new JPushMessageInfo() { @@ -299,7 +301,7 @@ if (bFinishedLaunching) { - if (pushMes.Extras != null && pushMes.Extras.Contains("Offline")) + if (pushMes.Extras != null && pushMes.Extras.Contains("OffLine")) { //haveToSignOut = true; //寮哄埗涓嬬嚎 -- Gitblit v1.8.0