开发者

i have inserted textfield into table view through custom cell now how to get the data from the textview

开发者 https://www.devze.com 2023-01-04 22:08 出处:网络
helloi am having table view and in that table view i have put text field on each cell, now how to get the data from the开发者_Go百科 cell , data is in the textfield..You say it\'s a custom tableviewce

hello i am having table view and in that table view i have put text field on each cell, now how to get the data from the开发者_Go百科 cell , data is in the textfield..


You say it's a custom tableviewcell? How did you make this custom cell? You need to assign an IBOutlet to your textfield and access the text that way (using the 'text' property).

If it's not a custom cell but a standard UITableViewCell then you can get it's text using cell.textLabel.text.

If it's neither of the above then please provide further detail.


maybe you can search on attributes? GetRowCellValue() ?

0

精彩评论

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