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
- (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