开发者

read data from the table view

开发者 https://www.devze.com 2022-12-12 10:17 出处:网络
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 .

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 t开发者_StackOverflow中文版he contents of the selected row of the table. i tried reading the data from the NSMutable array, but does not work. Please help


you can try to use

[[[myTableView cellForRowAtIndexPath:indexPath] textLabel] text]

in your didSelectRowAtIndexPath method. Or you want to know something else?

0

精彩评论

暂无评论...
验证码 换一张
取 消