-
Notifications
You must be signed in to change notification settings - Fork 769
Migration/wkwebview #388
base: master
Are you sure you want to change the base?
Migration/wkwebview #388
Conversation
Hello @OrbitalMan |
@@ -1281,7 +1272,7 @@ open class FolioReaderCenter: UIViewController, UICollectionViewDelegate, UIColl | |||
// Perform the page after a short delay as the collection view hasn't completed it's transition if this method is called (the index paths aren't right during fast scrolls). | |||
delay(0.2, closure: { [weak self] in | |||
if (self?.readerConfig.scrollDirection == .horizontalWithVerticalContent), | |||
let cell = ((scrollView.superview as? UIWebView)?.delegate as? FolioReaderPage) { | |||
let cell = ((scrollView.superview as? WKWebView)?.navigationDelegate as? FolioReaderPage) { | |||
let currentIndexPathRow = cell.pageNumber - 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @ThakarRajesh! I have already fixed the UIWebView reference - please take a look at commit 49076e4
Hi, |
Hi, |
Hello @OrbitalMan |
Hey guys, who solved a problem with images? Right now WKWebView doesn't load images from epub. |
Hello @OrbitalMan , after migration, I ran into a problem with fonts, they just stopped working, I have some strange font working, something from the system |
Here is my attempt to finish what @ricardohg started.
Known issues so far: