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

Migration/wkwebview#388

Draft
OrbitalMan wants to merge 7 commits intoFolioReader:masterfrom
OrbitalMan:migration/wkwebview
Draft

Migration/wkwebview#388
OrbitalMan wants to merge 7 commits intoFolioReader:masterfrom
OrbitalMan:migration/wkwebview

Conversation

@OrbitalMan
Copy link

Here is my attempt to finish what @ricardohg started.
Known issues so far:

  • You have to select a text couple of times in order to have an ability to play the audio from it.
  • The play button from menu also doesn't work before you select the text and make it to show play popup.
  • The pages counter doesn't always calculate correctly.
@ThakarRajesh
Copy link

Hello @OrbitalMan
We have check this wkwebview last commit. FolioReaderCenter.swift this file still using webview. please check and update
line 1291 let cell = ((scrollView.superview as? UIWebView)?.delegate as? FolioReaderPage)
Thanks

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
Copy link
Author

@OrbitalMan OrbitalMan Jul 2, 2020

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

@thilakks
Copy link

Hi,
When are you going to release WKWebview functionalities in FolioReader, we are waiting for it.

@startFromHere
Copy link

Hi,
Thanks for this pull request, Is there any solution of two columns config on WKWebview? like this feature:#343

@ThakarRajesh
Copy link

Hello @OrbitalMan
Type 'Bundle' has no member 'frameworkBundle' in FolioReaderScript.swift how to resolved this issue.

@hellbit
Copy link

hellbit commented Sep 29, 2020

Hey guys, who solved a problem with images? Right now WKWebView doesn't load images from epub.

@aleks990822
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

6 participants