I have tableview with some names on each cell , how can i get that name when select row ?
i know that i have to use delegate method
-(void)tableView:(
Assuming you're using a standard UITableViewCell, you can get the cell by using
UITableViewCell *cell = [self.tableView cellForRowAtIndexPath:indexPath];
then access the text property view properties via:
cell.textLabel.text cell.detailTextLabel.text