From bd0f15536074271d863aca522f093a12cd75533f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8A=B2=E9=B9=8F?= Date: Tue, 9 Mar 2021 16:00:55 +0800 Subject: [PATCH] iOS: fix tableview blink when reload on some devices --- doric-iOS/Pod/Classes/Shader/DoricListNode.m | 1 + 1 file changed, 1 insertion(+) diff --git a/doric-iOS/Pod/Classes/Shader/DoricListNode.m b/doric-iOS/Pod/Classes/Shader/DoricListNode.m index db13a2bc..745c6ef7 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricListNode.m +++ b/doric-iOS/Pod/Classes/Shader/DoricListNode.m @@ -77,6 +77,7 @@ - (UITableView *)build { it.delegate = self; it.separatorStyle = UITableViewCellSeparatorStyleNone; it.allowsSelection = NO; + it.estimatedRowHeight = 0; // avoid reload data blink if (@available(iOS 11, *)) { it.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever; }