Skip to main content
Home

Main navigation

  • Apps
  • Forum
  • Blog
    • Podcast
    • Guides
    • Hardware & Accessory Reviews
    • Bug Tracker
    • Developer Resources
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. App Development and Programming

Question about implementing the VoiceOver scrub gesture in my new app

By Ashif Sindhi, 28 August, 2021

Forum
App Development and Programming

Hi,
just started developing a webview app for ios using the WKWebView, using xcode v12, im having a difficult time implementing the z gesture to go back for voiceover users, can anyone help?
Here is the code snippet as of yet

override func viewDidLoad() {
super.viewDidLoad()
view.addSubview(webView)

guard let url = URL(string: "https://sindhisystems.co.uk") else {
return
}
webView.load(URLRequest(url: url))
webView.customUserAgent = "iPad/Chrome/SomethingRandom"
webView.allowBackForwardNavigationGestures = true

DispatchQueue.main.asyncAfter(deadline: .now()+5) {
self.webView.evaluateJavaScript("document.body.innerHTML") {
result, error in
guard let html = result as? String, error == nil else {
return
}

all the gestures work with vocieover on except for the z scrub or the two finger scrub from left to right to go back to a previous page, more commonly known as the escape gesture
Would anyone know how to fix this?

Options

  • Log in or register to post comments

More Like This

How to tie Voiceover into an MPVolumeView Slider? (Forum Topic)
Blind legend, scene 25 (Forum Topic)
A Blind Legend - Scene 20 (Guide)
Voiceover on the Mac: Switching when Things are announced (Forum Topic)
XMenu (Mac App Directory)
help with inquisitor to audio game (Forum Topic)
I have a problem with scene 24 of a blind legend (Forum Topic)
Invisible Phone Guard (Forum Topic)

Site Information

  • About
  • Club AppleVis
  • FAQ
  • Contact

Unless stated otherwise, all content is copyright AppleVis. All rights reserved. © 2022 | Accessibility | Terms | Privacy