我想将 UITableView 的部分标题推送到另一个视图控制器的部分标题。但我想不出一种方法来阅读现有的章节标题。现有的部分标题是动态构建的,我宁愿重用它而不是再次重建它。
if (indexPath.section == 0) {
SecondViewController *secondViewController = [[SecondViewController alloc] init];
secondViewController.strValueHolder = FOO_section.sectionTitle; // FOO Code
[[self navigationController] pushViewController:secondViewController animated:YES];
[secondViewController release];
}