Skip to content

Instantly share code, notes, and snippets.

@pedrogk
Last active August 29, 2015 14:21
Show Gist options
  • Save pedrogk/81f48a69156700f1e8f0 to your computer and use it in GitHub Desktop.
Save pedrogk/81f48a69156700f1e8f0 to your computer and use it in GitHub Desktop.
using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using Xamarin.Forms;
namespace SG.iOS {
[Register("AppDelegate")]
public partial class AppDelegate : UIApplicationDelegate {
UIWindow window;
public override bool FinishedLaunching(UIApplication app, NSDictionary options) {
Forms.Init();
window = new UIWindow(UIScreen.MainScreen.Bounds);
window.RootViewController = App.GetMainPage().CreateViewController();
window.MakeKeyAndVisible();
return true;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment