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; }
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); }