美文网首页
tableview的联动

tableview的联动

作者: 萌二宝 | 来源:发表于2016-07-21 17:30 被阅读35次

联动效果在于这里

  • (void)tableView:(UITableView *)tableView willDisplayHeaderView:(UIView *)view forSection:(NSInteger)section
    {
    if(tableView == _rightTableView){
    [_leftTableViewselectRowAtIndexPath:[NSIndexPathindexPathForItem:section inSection:0]animated:YESscrollPosition:UITableViewScrollPositionNone];
    }
    }

相关文章

网友评论

      本文标题:tableview的联动

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