public override bool FinishedLaunching (UIApplication app, NSDictionary options) { window = new UIWindow (UIScreen.MainScreen.Bounds); viewController = new MainViewController (); window.RootViewController = viewController; window.MakeKeyAndVisible (); /* if(options != null) { var url = (NSUrl) options["UIApplicationLaunchOptionsURL"]; if (url != null && url.IsFileUrl) { viewController.HandleOpenUrl(url); Console.WriteLine(url); } } */ return true; }
public override bool FinishedLaunching(UIApplication app, NSDictionary options) { window = new UIWindow(UIScreen.MainScreen.Bounds); viewController = new MainViewController(); window.RootViewController = viewController; window.MakeKeyAndVisible(); /* * if(options != null) * { * var url = (NSUrl) options["UIApplicationLaunchOptionsURL"]; * if (url != null && url.IsFileUrl) * { * viewController.HandleOpenUrl(url); * Console.WriteLine(url); * } * } */ return(true); }