小编Nik*_*lay的帖子

在reloadSections之后,TableView部分变为隐藏状态

我的问题如下:有一个由标题组成的表.当您单击标题时,它会在之后重新启动

[self.tableView reloadSections: [NSIndexSet indexSetWithIndex: section] withRowAnimation: UITableViewRowAnimationAutomatic];
Run Code Online (Sandbox Code Playgroud)

实际上,在早期版本(iOS 6.1.3及更低版本)中,单元格重新加载,一切都很好.在iOS7上细胞变得隐藏起来.它是什么以及如何解决?不仅是单击的单元格,而是下一个单元格(低于或高于).

<MyHeaderCell: 0x146ea600; baseClass = UITableViewCell; frame = (0 0, 320 75); hidden = YES; autoresize = W; gestureRecognizers = <NSArray: 0x146e10c0>; layer = <CALayer: 0x146e95d0 »
Run Code Online (Sandbox Code Playgroud)

基本上,它是日志中的其中一个问题.可以清楚地看到细胞变得隐藏起来.

然而,当我使用[self.tableView reloadData];一切都很好,但我需要动画.

uitableview ios7

6
推荐指数
1
解决办法
1078
查看次数

标签 统计

ios7 ×1

uitableview ×1