Skip to content

igaiga/iPadDisplayOutSample

Repository files navigation

This is a sample code for using iPad external display.

* iPadDisplayOutViewController.view
** displayed view in external display

* iPadDisplayOutAppDelegate:: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
main code is in here.

* [[UIScreen screens]count]
**count == 1 if external one has detected.
* window.screen = external;
** to set using external display.

*CGPoint point = CGPointMake(0.0f, 0.0f); ...
** setting external display size.

You can use iPad simulater with external display.
There is settings in hardware menu.

I referd the site. thanks. :)
http://stackoverflow.com/questions/2660473/using-uiscreen-to-drive-a-vga-display-doesnt-seem-to-show-the-uiwindow

About

This is a sample code for using iPad external display.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published