tags:

views:

21

answers:

0

Hi,

I created a perfect UI designs for ipad in UIInterfaceOrientationPortrait mode... Its work fine...

For some reason i tested ipad with UIInterfaceOrientationLandscapeRight of my application.

Its totally mess. My all labels and textfields are out of the screens.

I know why its happening , because of width and height of the uiview changes from portrait mode to landscape mode.

I use this code for UIInterfaceorientation in my application

// Override to allow orientations other than the default portrait orientation.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    // Return YES for supported orientations
     return YES;
}

What i need is? Without changing of my uidesign of ipad i want to work my application in both portrait and landscape mode?Is it possible ?

Plz help me? Thanks in advance....