im following this ios tutorial: http://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/SecondiOSAppTutorial/CustomizingDetailView/CustomizingDetailView.html#//apple_ref/doc/uid/TP40011318-CH5-SW3
and im creating a master scene and a detail scene. they are both done as described in the tutorial.
Right now the problem is that when i enter the detail scene, the layout of detail scene is not loaded. instead, a master scene layout with nothing on it is loaded.
So far from what i can see, the problem has to do with transferring the data from master scene to detail scene.
The tutorial does not include this method:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
without it, the app couldnt go from master scene to detail scene. i think the segue method was suppose to transfer the data and make it go to detail scene, but for some reason it doesnt. so this method was edited to
{
BirdSighting *sightingAtIndex = [self.dataController objectInListAtIndex:indexPath.row];
BirdsDetailViewController *bd= [[BirdsDetailViewController alloc] init];
bd.sighting = sightingAtIndex;
[self.navigationController pushViewController:bd animated:YES];
}
and now the app can go from master scene to detail scene, but the detail scene looks like a master scene with nothing on it.
Any help regarding this or the transferring data between the scenes are greatly appreciated. Thank you in advance.