标签:os io for on sp ios table ui
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
UITableViewCell *cell= [tableView cellForRowAtIndexPath:indexPath]; // 获取cell 对象
UILabel *name = (UILabel *)[cell.contentView viewWithTag:111]; // 获取昵称
_inputView.inputText.text = [NSString stringWithFormat:@"回复 %@ :", name.text]; // 加上对应的回复昵称
}
ios UITableView 获取点击cell对象,布布扣,bubuko.com
标签:os io for on sp ios table ui
原文地址:http://blog.csdn.net/alincexiaohao/article/details/38677411