Disable contentInsetAdjustmentBehavior
This commit is contained in:
parent
a84ed179c0
commit
c513607c19
|
|
@ -58,6 +58,9 @@ class FSPagerViewCollectionView: UICollectionView {
|
|||
if #available(iOS 10.0, *) {
|
||||
self.isPrefetchingEnabled = false
|
||||
}
|
||||
if #available(iOS 11.0, *) {
|
||||
self.contentInsetAdjustmentBehavior = .never
|
||||
}
|
||||
#if !os(tvOS)
|
||||
self.scrollsToTop = false
|
||||
self.isPagingEnabled = false
|
||||
|
|
|
|||
Loading…
Reference in New Issue