title: Connecting ipad to external monitor
body: <p>I am trying to connect my ipad app to an external screen using the following (not checking the correct resolution for now - just want it up and running).</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {    
       [window addSubview:[navigationController view]];
       if ([[UIScreen screens] count] &gt; 1) {
            window.screen = [[UIScreen screens] objectAtIndex:1];
       }
       [window makeKeyAndVisible];
       return YES;
  }
  </code></pre>
  
  <p>Is this supposed to redirect everything to the external monitor? How dows it work with touches/gestures? I see in the Apple apps, the controls etc are left on the ipad screen...</p>