Connecting ipad to external monitor

Posted by Josh P. on Stack Overflow See other posts from Stack Overflow or by Josh P.
Published on 2010-05-09T17:42:50Z Indexed on 2010/05/09 17:48 UTC
Read the original article Hit count: 253

Filed under:
|

I am trying to connect my ipad app to an external screen using the following (not checking the correct resolution for no - just want it up and running).

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {    
     [window addSubview:[navigationController view]];
     if ([[UIScreen screens] count] > 1) {
          window.screen = [[UIScreen screens] objectAtIndex:1];
     }
     [window makeKeyAndVisible];
     return YES;
}

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...

© Stack Overflow or respective owner

Related posts about ipad

Related posts about ipad-sdk