I am working on a iPAD application with MasterDetailView. From my tableView I am pushing another ViewController on detailViewController. I want this another ViewController to be displayed in landscape mode.
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
[_detailViewController.navigationController pushViewController:[self.storyboard instantiateViewControllerWithIdentifier:@"ABCViewController"] animated:YES];
}
I want this ABCViewController to be displayed in Landscape only view. All my other view supports both the orientation. Any help would be highly appreciated.