iOS: hide scroll bar by default

This commit is contained in:
王劲鹏 2021-03-19 16:36:43 +08:00 committed by osborn
parent b25aad5bac
commit b006658fb9

View File

@ -78,6 +78,7 @@ - (UITableView *)build {
it.separatorStyle = UITableViewCellSeparatorStyleNone;
it.allowsSelection = NO;
it.estimatedRowHeight = 0; // avoid reload data blink
it.showsVerticalScrollIndicator = NO;
if (@available(iOS 11, *)) {
it.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
}