我正在尝试实现settingsViewController的模态演示。这很好用,但是当它出现时,它没有显示在SettingsViewController中的tableView。它只显示灰色背景和导航栏。怎么没有在SettingsViewController中显示我的tableView?
SettingsViewController *settingController = [[SettingsViewController alloc] initWithNibName:nil bundle:nil];
UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:settingController];
navigationController.modalPresentationStyle = UIModalPresentationFormSheet;
[self presentViewController:navigationController animated:YES completion:NULL];