问题
I have a UITableView with custom cells,those cells contain some textFields,segmented index and all.Once i entered the data in particular cell textfield and segmented index after that i scrolled the tableview data contents disappears and overlapping.Can anyone tell me how to resolve the issue and how should i code.
回答1:
Use IBOutlet in UITableViewCell because if you create segmented control,textfield as subviews after scrolling down they will be added as subviews every time you Scroll.
来源:https://stackoverflow.com/questions/25403147/uitableview-cell-contents-are-disappearing-and-overlapping-when-scrolled-in-uita