From 326a8e72d7bb6def4147fc1e711d3cfa2aa8f4d1 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 27 十月 2023 18:33:02 +0800 Subject: [PATCH] 修复Siri Token过期无法刷新的问题 --- HDL-ON_iOS/AppDelegate.cs | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/HDL-ON_iOS/AppDelegate.cs b/HDL-ON_iOS/AppDelegate.cs index 86dd531..5f5f13d 100644 --- a/HDL-ON_iOS/AppDelegate.cs +++ b/HDL-ON_iOS/AppDelegate.cs @@ -62,6 +62,17 @@ { UIApplication.SharedApplication.ApplicationIconBadgeNumber = 0; } + + [Export("application:shouldAllowExtensionPointIdentifier:")] + public override bool ShouldAllowExtensionPointIdentifier(UIApplication application, NSString extensionPointIdentifier) + { + //if (extensionPointIdentifier == UIApplicationKeyboardExtensionPointIdentifier) + //{ + // return false; + //} + return true; + + } public override void RegisteredForRemoteNotifications(UIApplication application, NSData deviceToken) { @@ -237,6 +248,7 @@ // Shared.IOS.HDLFVSDK.Video.FVapplicationDidBecomeActive(application); //} Console.WriteLine("OnActivated"); + base.OnActivated(application); //HDL_ON.DriverLayer.Control.Ins.SearchLoaclGateway(); -- Gitblit v1.8.0