iOS: do not show flowlayout's scroll indicator
This commit is contained in:
parent
de8d102bc8
commit
83aab985d3
@ -189,6 +189,8 @@ - (UICollectionView *)build {
|
|||||||
it.pagingEnabled = NO;
|
it.pagingEnabled = NO;
|
||||||
it.delegate = self;
|
it.delegate = self;
|
||||||
it.dataSource = self;
|
it.dataSource = self;
|
||||||
|
it.showsVerticalScrollIndicator = NO;
|
||||||
|
it.showsHorizontalScrollIndicator = NO;
|
||||||
[it registerClass:[DoricFlowLayoutViewCell class] forCellWithReuseIdentifier:@"doricCell"];
|
[it registerClass:[DoricFlowLayoutViewCell class] forCellWithReuseIdentifier:@"doricCell"];
|
||||||
if (@available(iOS 11, *)) {
|
if (@available(iOS 11, *)) {
|
||||||
it.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
|
it.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
|
||||||
|
Reference in New Issue
Block a user