Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[<Register ("AppDelegate")>]
type AppDelegate () =
inherit UIApplicationDelegate ()
override val Window = null with get, set
// This method is invoked when the application is ready to run.
override this.FinishedLaunching (app, options) =
Xamarin.Forms.Forms.Init();
this.Window <- new UIWindow(UIScreen.MainScreen.Bounds)
let movieDBApp = View.TheMovieDB()
movieDBApp.Start()
this.Window.RootViewController <- movieDBApp.MainPage.CreateViewController()
this.Window.MakeKeyAndVisible()
true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.