当我滚动tableview时,来自textfield的数据在我的tableview单元格中重复。 Textfield重复每6行再次&。ios:文本字段在uitableview中复制数据
如何使用自定义单元格从文本字段中删除重复的数据。
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
static NSString *Identifier= @"ProductCell";
PlaceOrderTableViewCell * ProductCell = [ProductsTblView dequeueReusableCellWithIdentifier:Identifier];
if (ProductCell==nil)
{
ProductCell = [[PlaceOrderTableViewCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:Identifier];
}
}
我怎样才能得到textview在tableview中的文本 – svmrajesh 2015-03-31 19:38:17
我编辑了我的答案,参见上面的内容 – 2015-03-31 19:45:15