我使用以下代码:
PBComboBoxDetailsTableViewController *vc = (PBComboBoxDetailsTableViewController *)[self.storyboard instantiateViewControllerWithIdentifier:@"PBDetailListViewController"];
NSString *path = [[NSBundle mainBundle] pathForResource:@"Settings" ofType:@"plist"];
NSDictionary *settingsDict = [NSDictionary dictionaryWithContentsOfFile:path];
vc.dataSource = settingsDict[@"Frequency"];
[self presentViewController:vc animated:YES completion:nil];
UITableView 出现在状态栏下,当然我不能手动设置它的框架,因为它显示为顶视图控制器并且位置选项被禁用。除了将此表插入视图控制器之外,还有其他方法可以解决此问题吗?