In view controller, I have tableView
and graphView
. When I change the orientation of device to landscape mode, only the graphView
should show up in the landscape mode. Please advice:
- (NSUInteger)supportedInterfaceOrientations
{
return UIInterfaceOrientationLandscapeLeft;
}
- (BOOL)shouldAutorotate {
return NO;
}