iOS: hide scroll bar by default
This commit is contained in:
parent
b25aad5bac
commit
b006658fb9
@ -78,6 +78,7 @@ - (UITableView *)build {
|
|||||||
it.separatorStyle = UITableViewCellSeparatorStyleNone;
|
it.separatorStyle = UITableViewCellSeparatorStyleNone;
|
||||||
it.allowsSelection = NO;
|
it.allowsSelection = NO;
|
||||||
it.estimatedRowHeight = 0; // avoid reload data blink
|
it.estimatedRowHeight = 0; // avoid reload data blink
|
||||||
|
it.showsVerticalScrollIndicator = NO;
|
||||||
if (@available(iOS 11, *)) {
|
if (@available(iOS 11, *)) {
|
||||||
it.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
|
it.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user