I'm developing an iPhone app and have a cell object.
UITableViewCell *cell = [myTableView cellForRowAtIndexPath:indexPath];
But how do I GET the text from that cell?
From stackoverflow
-
If it's a cell that was created with one of the system cell types, it has a
UILabel *member calledtextLabel. If you've created a custom cell type, you should set thetagproperty of the relevant view (in IB or in code), then retrieve it using theviewWithTag:method on your cell.
0 comments:
Post a Comment