Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在表格的每个单元格中都有文本字段。所以当我调用表格重新加载时,我想清除(无)文本字段文本。
谢谢你。
n cellForRow: method where you create cell set text of textField
cell.yourTextField.text = @"";
在 cellForRow: 方法中,您将 textField 的单元格集文本创建为 nil:
cell.yourTextField.text = nil;