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 cell , data is in the textfield..
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.