I just followed this tutorial:
Implementing UITableView Sections from an NSArray of NSDictionary Objects
这是一个很好的例子。 但我要补充更多想法。 我愿装上<条码>。 我走过5门以上的辅导,但我每次都失败。 4小时后,一米要求你。
How can I load a detailView
with this sample?
关于 Fanny
Already tried, nowi have this code:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
NSString *selectedRow = nil;
NSDictionary *dictionary = [self.books objectAtIndex:indexPath.row];
selectedRow = [dictionary objectForKey:@"Title"];
//Initialize the detail view controller and display it.
DetailViewController *dvController = [[DetailViewController alloc] initWithNibName:@"DetailView" bundle:[NSBundle mainBundle]];
dvController.selectedRow = selectedRow;
[self.navigationController pushViewController:dvController animated:YES];
[dvController release];
dvController = nil;
但没有任何东西可言: