Re: iOS 11 - WKWebView in UIPageViewController broken?
Re: iOS 11 - WKWebView in UIPageViewController broken?
- Subject: Re: iOS 11 - WKWebView in UIPageViewController broken?
- From: Bobby Thomale <email@hidden>
- Date: Wed, 4 Oct 2017 07:07:55 -0500
Thanks for the tip. I subclassed WKWebView and tried implementing
accessibilityScroll. Unfortunately, it never gets called.
It must be because a subview of WKWebView (part of the internals) is
getting it first and attempting to handle it. I looked through the webkit
source and it looks simple enough. They implement accessibilityScroll and
return false if it couldn't scroll in that direction. Allowing the next
parent in the hierarchy to get the event.
Apparently the webkit implementation is never returning false on iOS 11. I
have no idea why not.
I'll file a bug with Apple.
On Tue, Oct 3, 2017 at 1:54 PM, Bobby Thomale <email@hidden> wrote:
> I don't have one, I'm relying on the UIPageViewController to do the right
> thing (which it normally does). Except it doesn't on iOS 11.
>
> Should I try implementing that and see if it is ever called? Maybe I can
> work around this with that...
>
> On Tue, Oct 3, 2017 at 11:20 AM, Zsolt Torma <email@hidden> wrote:
>
>> Hi Bobby,
>>
>> What about your accessibilityScroll function implementation?
>>
>> Thanks,
>>
>>
>> Zsolt
>>
>>
>> 2017. okt. 3. dátummal, 13:55 időpontban Bobby Thomale <
>> email@hidden> írta:
>>
>> Our app is a book reader that presents a series of book pages in a
>> UIPageViewController. Each page is represented by a WKWebView.
>>
>> In iOS 10, you could do the three-finger swipe to move between pages in
>> the UIPageViewController and it worked fine.
>>
>> In iOS 11 this has suddenly stopped working. The three finger swipe left
>> / right just does nothing.
>>
>> I'm not sure how to even debug this. It just seems broken.
>>
>> Does anyone have any suggestions of anything for me to try?
>>
>> The three finger swipe up and down to page up and down within each
>> WKWebView seems to be working just fine. Its just the three-finger swipe
>> left and right that is broken.
>>
>> We have another book type that has a custom view (not a webview) embedded
>> in the UIPageViewController instead of a WKWebView and that one is working
>> just fine. It appears to be something with WKWebView it isn't liking.
>>
>>
>>
>> --
>> Bobby Thomale
>> Vital Source Technologies
>> http://www.vitalsource.com
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Accessibility-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> email@hidden
>>
>> This email sent to email@hidden
>>
>>
>>
>
>
> --
> Bobby Thomale
> Vital Source Technologies
> http://www.vitalsource.com
>
--
Bobby Thomale
Vital Source Technologies
http://www.vitalsource.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden