您的位置:首页 > 产品设计 > UI/UE

UItableviewCell 关于Index

2013-11-25 15:08 387 查看
 NSString *textString ;

    NSIndexPath *indexPath=[NSIndexPath indexPathForRow:0 inSection:2];

    MemInforCell *cell=(MemInforCell *)[self.infoTable cellForRowAtIndexPath:indexPath];

    NSArray *viewArrays=[cell subviews];

    for (id object in viewArrays) {

        if ([object isKindOfClass:[UITextField class]]) {

            UITextField *textfield=(UITextField *)object;

            textString = textfield.text;

            

        }

    }

//获得section

//        NSInteger section = [[self.infoTable indexPathForCell:(UITableViewCell *)[textField superview]] section];
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  移动 uitableviewcell