Wednesday, January 15, 2014

About IPhone horizontal screen vertical screen switch

My program needs to do horizontal screen vertical screen support.

interface builder seemingly only set of vertical screen coordinates, is there any way or place I go to set the horizontal screen coordinate.

On the interface builder of autosizing, too VIEW above my control, not easy adaptation.
Reply:
 / / Override to allow orientations other than the default portrait orientation. 
- (BOOL) shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation) interfaceOrientation {
/ / Return YES for supported orientations
/ / Setting default coordinate
return YES;
}

In this event handler
Here is to determine if they had a place in UIViewController
Reply:
This means that I only have to write the coordinates through the code, so at this point IPhone really troublesome.
Reply:
Yes
In fact, should the other UI design is the same .....
Very troublesome
Reply:
Thank you for your answer.

Some time ago Samsung's latest mobile platform did bada,
Horizontal and vertical interfaces are inside it drag out through UI Builder.
Reply:
Look at how to solve droplets

No comments:

Post a Comment