Q:

How to disable UITableView horizontal scroll in iOS 6? 

Open a viewController in landscape after rotating a screen, the UITableView horizontally scrolled how to disable UITableView horizontal scroll? 
I also tried using the following code
self.tableView.contentSize = CGSizeMake(self.tableView.frame.size.width, self.tableView.contentSize.height);

A:

same code paste in    
-(void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation    
    {            
 self.tableViewProductChild.contentSize = CGSizeMake(self.tableViewProductChild.frame.size.width, self.tableViewProductChild.contentSize.height);
 }

Its now worked thank you for your help

