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

Commit

Permalink
Fixed issue #268 showing/hiding navigation on tap in iOS 11. (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-w authored and hebertialmeida committed Jan 16, 2018
1 parent f3887bd commit 0f0b3a8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Source/FolioReaderCenter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,9 @@ open class FolioReaderCenter: UIViewController, UICollectionViewDelegate, UIColl
cell.setup(withReaderContainer: readerContainer)
cell.pageNumber = indexPath.row+1
cell.webView?.scrollView.delegate = self
if #available(iOS 11.0, *) {
cell.webView?.scrollView.contentInsetAdjustmentBehavior = .never
}
cell.webView?.setupScrollDirection()
cell.webView?.frame = cell.webViewFrame()
cell.delegate = self
Expand Down

0 comments on commit 0f0b3a8

Please sign in to comment.