I have a tableview which loads data for an sqlite database and displays them in sections.
Its cell of the tableview has three labels for displaying text.
My question is can I get the text value of a label in the selected cell in prepareForSegue, so i can pass it to the detail view?
Yes, you can do this. You should set the
tagproperty on each of the UILabels in your table view’s prototype cell (you can do this in the storyboard) so you can identify them in yourprepareForSegue:code.