public override bool FinishedLaunching(UIApplication app, NSDictionary options) { // Init segues and forms Segue.Init(); global::Xamarin.Forms.Forms.Init(); LoadApplication(new Sample.App()); return(base.FinishedLaunching(app, options)); }
protected override void OnCreate(Bundle bundle) { TabLayoutResource = Resource.Layout.Tabbar; ToolbarResource = Resource.Layout.Toolbar; base.OnCreate(bundle); // Init segues and forms Segue.Init(); global::Xamarin.Forms.Forms.Init(this, bundle); LoadApplication(new App()); }
public override void DidFinishLaunching(NSNotification notification) { // Init segues and forms Segue.Init(); Xamarin.Forms.Forms.Init(); // Start the app window = new NSWindow( new CGRect(0, 0, 400, 600), NSWindowStyle.Closable | NSWindowStyle.Miniaturizable | NSWindowStyle.Resizable | NSWindowStyle.Titled, NSBackingStore.Buffered, deferCreation: false); LoadApplication(new App()); base.DidFinishLaunching(notification); window.Center(); }