Esempio n. 1
0
		public override bool FinishedLaunching (UIApplication app, NSDictionary options)
		{
			window = new UIWindow (UIScreen.MainScreen.Bounds);

			GLViewController root = new GLViewController ();
			root.View.Frame = window.Frame;
			root.View.ContentScaleFactor = window.ContentScaleFactor;

			window.RootViewController = root;

			window.MakeKeyAndVisible ();

			(root.View as GLView).StartAnimation ();

			return true;
		}
Esempio n. 2
0
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
        {
            window = new UIWindow(UIScreen.MainScreen.Bounds);

            GLViewController root = new GLViewController();

            root.View.Frame = window.Frame;
            root.View.ContentScaleFactor = window.ContentScaleFactor;

            window.RootViewController = root;

            window.MakeKeyAndVisible();

            (root.View as GLView).StartAnimation();

            return(true);
        }