From dd7e4794fd611de967c6322dd0bb7ffda41c2f7b Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 29 十一月 2021 16:32:55 +0800
Subject: [PATCH] 增加了安防相关功能

---
 HDL-ON_iOS/AppDelegate.cs |   43 -------------------------------------------
 1 files changed, 0 insertions(+), 43 deletions(-)

diff --git a/HDL-ON_iOS/AppDelegate.cs b/HDL-ON_iOS/AppDelegate.cs
index 4568b86..db00116 100644
--- a/HDL-ON_iOS/AppDelegate.cs
+++ b/HDL-ON_iOS/AppDelegate.cs
@@ -10,7 +10,6 @@
 using HDL_ON.UI;
 using HDL_ON.DAL.Server;
 using Intents;
-using Other.Siri;
 
 namespace SharedMethod
 {
@@ -450,48 +449,6 @@
             HDL_ON.DriverLayer.Control.Ins.SearchLoaclGateway();
         }
 
-
-
-
-        public override bool ContinueUserActivity(UIApplication application, NSUserActivity userActivity, UIApplicationRestorationHandler completionHandler)
-        {
-            var intent = userActivity.GetInteraction()?.Intent as HDLSceneSiri.HDLRunSceneIntent;
-            if (!(intent is null))
-            {
-                HandleIntent(intent);
-                return true;
-            }
-            else if (userActivity.ActivityType == NSUserActivityHelper.ViewMenuActivityType)
-            {
-                HandleUserActivity();
-                return true;
-            }
-            return false;
-        }
-
-        void HandleIntent(HDLSceneSiri.HDLRunSceneIntent intent)
-        {
-            var handler = new SiriKit.HDLRunSceneIntentHandlder();
-            handler.HandleRunScene(intent, (response) => {
-                if (response.Code != HDLSceneSiri.HDLRunSceneIntentResponseCode.Success)
-                {
-                    Console.WriteLine("Siri鎵ц澶辫触銆�");
-                }
-            });
-        }
-
-        void HandleUserActivity()
-        {
-            //var rootViewController = Window?.RootViewController as UINavigationController;
-            //var orderHistoryViewController = rootViewController?.ViewControllers?.FirstOrDefault() as OrderHistoryTableViewController;
-            //if (orderHistoryViewController is null)
-            //{
-            //    Console.WriteLine("Failed to access OrderHistoryTableViewController.");
-            //    return;
-            //}
-            //var segue = OrderHistoryTableViewController.SegueIdentifiers.SoupMenu;
-            //orderHistoryViewController.PerformSegue(segue, null);
-        }
 
     }
 

--
Gitblit v1.8.0