iOS:do not show scroller indicator

This commit is contained in:
pengfei.zhou 2020-03-03 11:58:35 +08:00 committed by osborn
parent 3e2a2038c7
commit ff84738e03

View File

@ -56,6 +56,8 @@ @implementation DoricScrollerNode
- (DoricScrollView *)build {
return [[DoricScrollView new] also:^(DoricScrollView *it) {
it.delegate = self;
it.showsHorizontalScrollIndicator = NO;
it.showsVerticalScrollIndicator = NO;
if (@available(iOS 11, *)) {
it.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
}