Reputation: 952
i got a problem on my UITableViewController
it wont do UIDeviceOrientationPortraitUpsideDown
orientation. I already set on shouldAutorotateToInterfaceOrientation
function allowing the two portrait orientations.
Here's my code on implementing my UITableViewController
UITableViewController *controller = [[UITableViewController alloc] initWithStyle:UITableViewStyleGrouped];
controller.tableView.delegate = self;
controller.tableView.dataSource = self;
controller.tableView.scrollEnabled = NO;
thanks
Upvotes: 0
Views: 618
Reputation: 66302
The most likely explanation is that your app itself won't support upside-down (the Apple human interface guidelines suggest that iPhone apps should not be rotated upside-down.) You can modify this in your project settings within Xcode.
If that's not it, can you post your code for shouldAutorotateToInterfaceOrientation
?
Upvotes: 1