Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

Commit

Permalink
Fix iOS 11 auto adjust inset bug and closes #332 #312 #261 (reverted …
Browse files Browse the repository at this point in the history
…from commit 0f161dd)
  • Loading branch information
wesleycgs committed Jun 30, 2018
1 parent 4577d99 commit 525b9b5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Source/FolioReaderCenter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,6 @@ open class FolioReaderCenter: UIViewController, UICollectionViewDelegate, UIColl
enableScrollBetweenChapters(scrollEnabled: true)
view.addSubview(collectionView)

if #available(iOS 11.0, *) {
collectionView.contentInsetAdjustmentBehavior = .never
}

// Activity Indicator
self.activityIndicator.activityIndicatorViewStyle = .gray
self.activityIndicator.hidesWhenStopped = true
Expand Down

0 comments on commit 525b9b5

Please sign in to comment.