I\'m starting now with Xcode on 4.2 for iOS5 and there are a few changes and I\'m now crossing a problem that I can\'t figure out a way to solve it.
I\'m doing an ex
I have the same problem as you do. The problem is that you can't link your tableViewCell to multiple view controllers. However you can link your source view itself to multiple view controllers.
Control-drag the master view controller (instead of table view cell) from the scene viewer to whatever view controller you want to link. You can do this as much as you want. Notice that the segue shown in source view controller scene should be something like "Push Segue from Root View Controller ..." instead of "Push Segue from NavCell to ...".
Identify each segue link a unique name like "toDetailView1"
Finally, custom the selection in your source view controllers:
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
if (indexPath.row % 2 == 1) {
[self performSegueWithIdentifier:@"toDetailView1" sender:self];
} else {
[self performSegueWithIdentifier:@"toDetailView2" sender:self];
}
}