cell 中textfield

来源:互联网 发布:天元律师事务所 知乎 编辑:程序博客网 时间:2024/05/18 01:21

- (void)textFieldDidEndEditing:(UITextField *)textField

{

    //get cell

    NextAgentInfoTableCell *cell = (NextAgentInfoTableCell *)[textFieldsuperview];

    NSIndexPath *indexPath = [self.moreTableViewindexPathForCell:cell];

    NSLog(@"%@",indexPath);

    NSLog(@"%@",textField.text);

   

}

0 0