public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { #if DEBUG log("FinishedLaunching with NSDictionary"); #endif //MainAppWindow ().AddSubview (MainViewController ().View); //MainAppWindow ().MakeKeyAndVisible (); window = new UIWindow(UIScreen.MainScreen.Bounds); viewController = this.BindCustomViewController(); window.RootViewController = viewController; window.MakeKeyAndVisible(); this.SetDataDetectorTypes(); // remove all cache content (testing purposes) //NSUrlCache.SharedCache.RemoveAllCachedResponses(); InitializeUnity(); this.DetectWebViewLoadFinishedEvent(application, launchOptions); return(true); }
public override void FinishedLaunching(UIApplication application) { #if DEBUG log("FinishedLaunching"); #endif //MainAppWindow ().AddSubview (MainViewController ().View); //MainAppWindow ().MakeKeyAndVisible (); window = new UIWindow(UIScreen.MainScreen.Bounds); viewController = this.BindCustomViewController(); window.RootViewController = viewController; window.MakeKeyAndVisible(); this.SetDataDetectorTypes(); InitializeUnity(); }
public override void FinishedLaunching(UIApplication application) { #if DEBUG log("FinishedLaunching"); #endif //MainAppWindow ().AddSubview (MainViewController ().View); //MainAppWindow ().MakeKeyAndVisible (); window = new UIWindow(UIScreen.MainScreen.Bounds); viewController = new UnityUI_iOSViewController(); window.RootViewController = viewController; window.MakeKeyAndVisible(); // do not detect data types automatically (phone links, etc) MainViewController().webView.DataDetectorTypes = UIDataDetectorType.None; InitializeUnity(); }
public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { #if DEBUG log("FinishedLaunching with NSDictionary"); #endif //MainAppWindow ().AddSubview (MainViewController ().View); //MainAppWindow ().MakeKeyAndVisible (); window = new UIWindow(UIScreen.MainScreen.Bounds); viewController = new UnityUI_iOSViewController(); window.RootViewController = viewController; window.MakeKeyAndVisible(); // do not detect data types automatically (phone links, etc) MainViewController().webView.DataDetectorTypes = UIDataDetectorType.None; // remove all cache content (testing purposes) //NSUrlCache.SharedCache.RemoveAllCachedResponses(); InitializeUnity(); UIApplicationState applicationState = application.ApplicationState; MainUIWebView().LoadFinished += delegate { #if DEBUG log("************** WEBVIEW LOAD FINISHED"); #endif // The NSDictionary options variable would contain any notification data if the user clicked the 'view' button on the notification // to launch the application. // This method processes these options from the FinishedLaunching, as well as the ReceivedRemoteNotification methods. processNotification(launchOptions, true, applicationState); // Processing extra data received when launched externally (using custom scheme url) processLaunchData(); }; return(true); }
public override bool FinishedLaunching(UIApplication application, NSDictionary launcOptions) { #if DEBUG log ("FinishedLaunching with NSDictionary"); #endif //MainAppWindow ().AddSubview (MainViewController ().View); //MainAppWindow ().MakeKeyAndVisible (); window = new UIWindow (UIScreen.MainScreen.Bounds); viewController = new UnityUI_iOSViewController (); window.RootViewController = viewController; window.MakeKeyAndVisible (); // do not detect data types automatically (phone links, etc) MainViewController().webView.DataDetectorTypes = UIDataDetectorType.None; // remove all cache content (testing purposes) //NSUrlCache.SharedCache.RemoveAllCachedResponses(); InitializeUnity (); UIApplicationState applicationState = application.ApplicationState; MainUIWebView().LoadFinished += delegate { #if DEBUG log ("************** WEBVIEW LOAD FINISHED"); #endif // The NSDictionary options variable would contain any notification data if the user clicked the 'view' button on the notification // to launch the application. // This method processes these options from the FinishedLaunching, as well as the ReceivedRemoteNotification methods. processNotification(launcOptions, true, applicationState); // Processing extra data received when launched externally (using custom scheme url) processLaunchData(); }; return true; }
public override void FinishedLaunching(UIApplication application) { #if DEBUG log ("FinishedLaunching"); #endif //MainAppWindow ().AddSubview (MainViewController ().View); //MainAppWindow ().MakeKeyAndVisible (); window = new UIWindow (UIScreen.MainScreen.Bounds); viewController = new UnityUI_iOSViewController (); window.RootViewController = viewController; window.MakeKeyAndVisible (); // do not detect data types automatically (phone links, etc) MainViewController().webView.DataDetectorTypes = UIDataDetectorType.None; InitializeUnity (); }
public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { #if DEBUG log ("FinishedLaunching with NSDictionary"); #endif //MainAppWindow ().AddSubview (MainViewController ().View); //MainAppWindow ().MakeKeyAndVisible (); window = new UIWindow (UIScreen.MainScreen.Bounds); viewController = this.BindCustomViewController (); window.RootViewController = viewController; window.MakeKeyAndVisible (); this.SetDataDetectorTypes (); // remove all cache content (testing purposes) //NSUrlCache.SharedCache.RemoveAllCachedResponses(); InitializeUnity (); this.DetectWebViewLoadFinishedEvent(application, launchOptions); return true; }
public override void FinishedLaunching(UIApplication application) { #if DEBUG log ("FinishedLaunching"); #endif //MainAppWindow ().AddSubview (MainViewController ().View); //MainAppWindow ().MakeKeyAndVisible (); window = new UIWindow (UIScreen.MainScreen.Bounds); viewController = this.BindCustomViewController (); window.RootViewController = viewController; window.MakeKeyAndVisible (); this.SetDataDetectorTypes (); InitializeUnity (); }
public override void FinishedLaunching (UIApplication application) { #if DEBUG log ("FinishedLaunching"); #endif // inform other weak delegates (if exist) about the application finished launching event IPhoneServiceLocator.FinishedLaunching(application, null); //MainAppWindow ().AddSubview (MainViewController ().View); //MainAppWindow ().MakeKeyAndVisible (); window = new UIWindow (UIScreen.MainScreen.Bounds); viewController = this.BindCustomViewController (); window.RootViewController = viewController; window.MakeKeyAndVisible (); this.SetDataDetectorTypes (); InitializeUnity (); }