suchen

Heim  >  Fragen und Antworten  >  Hauptteil

ios - UITableView reloadData之后, section区头的位置变化

我用的是MJRefresh框架, 在上提加载玩数据后刷新tableview, 但是这个时候区头会跑到一个莫名其妙的位置上.

大家讲道理大家讲道理2885 Tage vor519

Antworte allen(3)Ich werde antworten

  • 巴扎黑

    巴扎黑2017-04-18 09:59:13

    show me your code

    Antwort
    0
  • 巴扎黑

    巴扎黑2017-04-18 09:59:13

    section 使用MJRefresh时 展示错位的问题解决了吗

    Antwort
    0
  • 迷茫

    迷茫2017-04-18 09:59:13

    这个问题我找到了, 是因为我的UITableViewCell采用的是自动适应高度
    UITableView设置了setEstimatedRowHeight高度
    解决方案我是把自动适应高度去掉了, 重新计算高度

    Antwort
    0
  • StornierenAntwort