I have a custom UITableViewCell and in it I have 2 labels.
The 2 labels in the custom cell have name and location.
What I need to be able to do is, select a row and use the text in the name label of the row as the title for the next viewController.
Any ideas on how I could do this?
Thanks.
Give the label in the cell a tag, like kMyNameLabelTag, when the cell is created. When the cell is selected, use cellForRowAtIndexPath to get the cell then viewWithTag to get the label in the cell.
This assumes you added the labels to the contentView.