美文网首页
2018-12-20

2018-12-20

作者: 小美788 | 来源:发表于2019-05-06 17:11 被阅读0次

////表格数据源方法

//-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath

//{

//    SecondOneCell * cell = [tableView dequeueReusableCellWithIdentifier:tbvcell];

//

//    if (indexPath.section == 0) {

//      _TableView.rowHeight = 260;

//    }

//    if (indexPath.section == 1) {

//        _TableView.rowHeight = 200;

//    }

//    if (indexPath.section == 2) {

//        _TableView.rowHeight = 200;

//    }

//    if (indexPath.section == 3) {

//        _TableView.rowHeight = 200;

//    }

//

//    return cell;

//}

////表格点击的方法

//-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{

//    //  点击单元格的时候取消选中单元格

//    [tableView deselectRowAtIndexPath:indexPath animated:YES];

//}

//-(CGFloat)tableView:(UITableView*)tableView heightForHeaderInSection:(NSInteger)section{

//

//    return 0.1;

//

//}

//-(UIView*)tableView:(UITableView*)tableView viewForHeaderInSection:(NSInteger)section{

//

//    return nil;

//

//}

//-(CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section{

//    return 0.1;

//}

//-(UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section{

//    return nil;

//}

//

相关文章

网友评论

      本文标题:2018-12-20

      本文链接:https://www.haomeiwen.com/subject/rvbukqtx.html