For example, there are 4 labels in a cell. when the user click on one of them. is there any ways to recognise which label is he clicking on?
if yes, by what function that can i get the text value of that labels?
For example, there are 4 labels in a cell. when the user click on one of them. is there any ways to recognise which label is he clicking on?
if yes, by what function that can i get the text value of that labels?
This question is for button. Same rule apply to label.
1) In your cellForRowAtIndexPath: method, assign label tag as index
2) Add target Action for label