AppDelegate.cs 473 B

12345678910111213141516171819
  1. using Foundation;
  2. using UIKit;
  3. namespace Draw2D
  4. {
  5. [Register("AppDelegate")]
  6. public class AppDelegate : UIApplicationDelegate
  7. {
  8. public override UIWindow Window { get; set; }
  9. public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
  10. {
  11. Window = new UIWindow(UIScreen.MainScreen.Bounds);
  12. var game = new Game1();
  13. game.Run();
  14. return true;
  15. }
  16. }
  17. }