| | |
| | | { |
| | | 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) |
| | | { |
| | |
| | | // Shared.IOS.HDLFVSDK.Video.FVapplicationDidBecomeActive(application); |
| | | //} |
| | | Console.WriteLine("OnActivated"); |
| | | |
| | | base.OnActivated(application); |
| | | //HDL_ON.DriverLayer.Control.Ins.SearchLoaclGateway(); |
| | | |
| | |
| | | { |
| | | Language.CurrentLanguage = "Spanish"; |
| | | } |
| | | //else if(NSLocale.PreferredLanguages[0].Contains("uk-")){ |
| | | // Language.CurrentLanguage = "Ukraine"; |
| | | //} |
| | | else |
| | | { |
| | | Language.CurrentLanguage = "English"; |
| | |
| | | //{ |
| | | // //RemoteInfo.Current.ReadMsgList(true); |
| | | //} |
| | | try |
| | | { |
| | | UMSdk.HDLUMSDK.InitUMSDKWithAppKey("61d56642e0f9bb492bbc3e72", "IOS"); |
| | | } |
| | | catch(Exception ex) |
| | | { |
| | | Console.WriteLine("启动友盟SDK异常:"+ex.Message); |
| | | } |
| | | |
| | | Console.WriteLine("FinishedLaunching"); |
| | | return true; |