I have a UITableView that contains a UITextField in each cell.
I can’t seem to figure out how to loop through and get each of the UITextFields.
Is there any way to do this???
Many thanks,
Brett
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.
If you set the tag for each text field as you create it, you could do something like this:
The table view does not keep cells other than the visible cells and, temporarily, requeued cells. If you want cells, or just the text fields, to persist when scrolled outside the visible area of the table you must retain them elsewhere.