From 53189866ba4012fec0b40990fd2281b836fa2668 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 01 七月 2020 16:29:16 +0800 Subject: [PATCH] 20200701 --- HDL-ON_iOS/AppDelegate.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HDL-ON_iOS/AppDelegate.cs b/HDL-ON_iOS/AppDelegate.cs index 65c5fdb..7d7622e 100644 --- a/HDL-ON_iOS/AppDelegate.cs +++ b/HDL-ON_iOS/AppDelegate.cs @@ -156,7 +156,7 @@ { SharedMethod.SharedMethod.IsBackground = false; //BusSocket.Start(6000); - AppUnlockPage.LoadPage(); + new AppUnlockPage().LoadPage(); Console.WriteLine("WillEnterForeground"); UIApplication.SharedApplication.ApplicationIconBadgeNumber = 0; } @@ -175,12 +175,12 @@ public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { + Shared.Application.IsGpsEnable = false; AppCenter.Start("e1add75a-82c6-4a5c-a902-4705b195748e", typeof(Analytics), typeof(Crashes)); base.FinishedLaunching(application, launchOptions); SharedMethod.SharedMethod.sharedApp = application; - Shared.Application.IsGpsEnable = false; //NSString* nsCount = [[NSLocale currentLocale] objectForKey: NSLocaleCountryCode]; application.StatusBarStyle = UIStatusBarStyle.DarkContent; -- Gitblit v1.8.0