From e1a8f2f7e4d850beedeb1469610b878c1427e976 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 15 十二月 2021 09:01:53 +0800
Subject: [PATCH] 更新
---
HDL-ON_iOS/AppDelegate.cs | 47 +++--------------------------------------------
1 files changed, 3 insertions(+), 44 deletions(-)
diff --git a/HDL-ON_iOS/AppDelegate.cs b/HDL-ON_iOS/AppDelegate.cs
index 4568b86..4dba627 100644
--- a/HDL-ON_iOS/AppDelegate.cs
+++ b/HDL-ON_iOS/AppDelegate.cs
@@ -1,4 +1,4 @@
-锘縰sing System;
+锘縰sing System;
using Foundation;
using HDL_ON;
using Shared;
@@ -10,7 +10,6 @@
using HDL_ON.UI;
using HDL_ON.DAL.Server;
using Intents;
-using Other.Siri;
namespace SharedMethod
{
@@ -281,6 +280,8 @@
//楂樺痉key
GDMapKit.setGDApiKey("f0635ea15c5d579c6e93d9f07a06da69");
+ //楂樺痉key
+ GDMapKit.setGDApiKey("f0635ea15c5d579c6e93d9f07a06da69");
Console.WriteLine("FinishedLaunching");
return true;
}
@@ -450,48 +451,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