陈嘉乐
2020-10-13 611786df5108dca0bdcff03834cc285cba4b8e61
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,11 @@
        public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
        {
            AppCenter.Start("e1add75a-82c6-4a5c-a902-4705b195748e",
                               typeof(Analytics), typeof(Crashes));
            Shared.Application.IsGpsEnable = true;
            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;