Skip to content

Commit

Permalink
Disable contentInsetAdjustmentBehavior
Browse files Browse the repository at this point in the history
  • Loading branch information
WenchaoD committed Nov 24, 2017
1 parent a84ed17 commit c513607
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/FSPagerCollectionView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c513607

Please sign in to comment.