Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Alekhya

macrumors newbie
Original poster
Feb 19, 2011
3
0
If i add 2 subviews in appdelegate in IPAD,the top view Only one view is rotating by a auto rotation method,But the other view is not rotating.y?I want both the views to be fixed in landscape mode.Please tell me how to do this

- (BOOL)shouldAutorotateToInterfaceOrientationUIIn terfaceOrientation)interfaceOrientation {
// Overriden to allow any orientation.
return YES;
NSLog(@"rotation");
// return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft);
}
In this way i tried in the view controller

Thanks in advance
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.