-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathreadme.txt
More file actions
21 lines (15 loc) · 739 Bytes
/
readme.txt
File metadata and controls
21 lines (15 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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