iOS:do not show scroller indicator
This commit is contained in:
parent
3e2a2038c7
commit
ff84738e03
@ -56,6 +56,8 @@ @implementation DoricScrollerNode
|
|||||||
- (DoricScrollView *)build {
|
- (DoricScrollView *)build {
|
||||||
return [[DoricScrollView new] also:^(DoricScrollView *it) {
|
return [[DoricScrollView new] also:^(DoricScrollView *it) {
|
||||||
it.delegate = self;
|
it.delegate = self;
|
||||||
|
it.showsHorizontalScrollIndicator = NO;
|
||||||
|
it.showsVerticalScrollIndicator = NO;
|
||||||
if (@available(iOS 11, *)) {
|
if (@available(iOS 11, *)) {
|
||||||
it.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
|
it.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user