how do i read the content displayed in the table. My case is : i have a table where i display the values from string array . now when i select a particular row, i want to read the contents of the selected row of the table. i tried reading the data from the NSMutable array, but does not work. Please help
+1
A:
you can try to use
[[[myTableView cellForRowAtIndexPath:indexPath] textLabel] text]
in your didSelectRowAtIndexPath method. Or you want to know something else?
Morion
2009-11-23 10:01:31
thanks, it worked
shreedevi
2009-11-23 11:24:00
hmmm.... maybe you want to do something like mark question as answered?
Morion
2009-11-23 14:24:47
+1. I don't like seeing people get screwed out of the accepted answer.
kirk.burleson
2010-07-22 21:17:19