I have created a table view that pulls its cells from an array.
Each cell needs to push to a different view… and I cannot find the value of the tapped cell. It needs a conditional statement but without the value i cannot push the view 🙁
below is the snippet of my didSelectRowAtIndexPath
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
// Navigation logic may go here. Create and push another view controller.
if(){
SendSms *detailViewController = [[SendSms alloc] initWithNibName:@"SendSms" bundle:nil];
[self.navigationController pushViewController:detailViewController animated:YES];
[detailViewController release];
}
}
You will see the If statement is blank… I need the value of the column pushed to push to another view controller.
Please help! Thanks
1 Answer