tags:

views:

370

answers:

1

i want to show the text text from the uitablevicell selected to the nextview's navigationbar..any idea regarding this?

+1  A: 

In your delegate method:

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {

UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath.row]
nextViewController.title = cell.text;
[self.navigationController pushViewController:nextViewController animated:YES];

}
floorjiann