Quote:
Originally Posted by cityofangels
I have UITextField in my UITableViewCell in a UITableView. I have 11 cells total. When I enter text in a cell, and scroll the cell off the screen, that text is getting cleared.
It seems like maybe the cells are being dequed or deallocated? I need all the cells's textFields to be visible within this view at all times and there are only 11 so it doesn't be too much of an issue.
|
Are you tring to use UITableViewCell for storage? Because I don't think it works like that.
If something gets edited, you have to store it yourself.
Anything that gets added to a UITableViewCell may get re-used, so you have to make sure these fields
get cleared out before you use them.