From 525b9b567392f5fa1eef5cdc3aabb5f3270e4cce Mon Sep 17 00:00:00 2001 From: Wesley Gomes Date: Fri, 29 Jun 2018 21:12:07 -0300 Subject: [PATCH] Fix iOS 11 auto adjust inset bug and closes #332 #312 #261 (reverted from commit 0f161dd56322a348d5ab8235175b824f62028b6e) --- Source/FolioReaderCenter.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Source/FolioReaderCenter.swift b/Source/FolioReaderCenter.swift index f91273ac4..ca332563d 100644 --- a/Source/FolioReaderCenter.swift +++ b/Source/FolioReaderCenter.swift @@ -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