From 7080d60e3faee6711a3dea83fa8e3707d3bd115d Mon Sep 17 00:00:00 2001 From: Alex Soto Date: Tue, 16 Jun 2015 01:20:40 -0500 Subject: [PATCH] [AVTouch] Modernize a little the AppDelegate --- AVTouchSample/AppDelegate.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AVTouchSample/AppDelegate.cs b/AVTouchSample/AppDelegate.cs index 910eacc4..23fa8723 100644 --- a/AVTouchSample/AppDelegate.cs +++ b/AVTouchSample/AppDelegate.cs @@ -9,7 +9,7 @@ namespace avTouch // This method is invoked when the application has loaded its UI and its ready to run public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) { - window.AddSubview (viewController.View); + window.RootViewController = viewController; window.MakeKeyAndVisible (); return true;