Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UITableViewCell默认下划线,第一次进入不显示,第二次进入显示 #213

Open
shandawy opened this issue Oct 13, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@shandawy
Copy link

  • (UITableView *)tableView {
    if (!_tableView) {
    _tableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, kScreenHeight) style:UITableViewStylePlain];
    _tableView.dataSource = self;
    _tableView.delegate = self;
    _tableView.estimatedRowHeight = 0;
    _tableView.estimatedSectionFooterHeight = 0;
    _tableView.estimatedSectionHeaderHeight = 0;
    // _tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
    _tableView.backgroundColor = [UIColor tab_normalDynamicBackgroundColor];

      // 设置tabAnimated相关属性
      // 可以不进行手动初始化,将使用默认属性
      _tableView.tabAnimated = [TABTableAnimated animatedWithCellClass:[TestTableViewCell class] cellHeight:100];
      _tableView.tabAnimated.canLoadAgain = YES;
      _tableView.tabAnimated.adjustBlock = ^(TABComponentManager * _Nonnull manager) {
          manager.animationN(@"titleLab").down(3).height(50);
          manager.animationN(@"timeLab").height(12).reducedWidth(70);
          manager.animationN(@"statusBtn").down(-5).height(12).radius(0.).reducedWidth(-20);
      };
    

    }
    return _tableView;
    }
    默认显示cell下划线,但是骨架图第一次不显示,第二次才显示

9e20f478899dc29eb19741386f9343c8_687323144751_v_0_1665630344.mp4
@tigerAndBull
Copy link
Owner

是希望下划线显示吗?

@shandawy
Copy link
Author

是的,希望有下划线一直显示

@tigerAndBull tigerAndBull added the bug Something isn't working label Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants