i want to show the text text from the uitablevicell selected to the nextview's navigationbar..any idea regarding this?
views:
370answers:
1
+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
2009-06-12 12:25:29