Rotate iPad Application
I want my app to rotate, when the iPad is flipped. For this I've overridden the following method:
My view controller class is derived from UITableViewController. I've added the first line in the above method
- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation
self.tableView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
according to some site over the net. But it's not working. What to do to rotate an app when the iPad is flipped?
Sorry if it's too simple thing. I'm very much new to iOS development.