Create accessible experiences for watchOS

RSS for tag

Discuss the WWDC21 session Create accessible experiences for watchOS.

View Session

Posts under wwdc21-10223 tag

7 results found
Sort by:
Post not yet marked as solved
81 Views

trouble enabling two finger gesture to go back to previous page on a webview app

I have enabled the following swipe gesture and it works however with voiceover it doesnt respond and doesnt allow the user to go back with the two finger swipe from left to right Heres the code that i have written so far - import UIKit import WebKit class ViewController: UIViewController { let webView: WKWebView = { let prefs = WKWebpagePreferences() prefs.allowsContentJavaScript = true let configuration = WKWebViewConfiguration() configuration.defaultWebpagePreferences = prefs let webView = WKWebView(frame: .zero, configuration: configuration) return webView }() override func viewDidLoad() { super.viewDidLoad() view.addSubview(webView) guard let url = URL(string: "https://sindhisystems.co.uk") else { return } func goBack(_ sender: Any) { webView.goBack() } webView.load(URLRequest(url: url)) webView.customUserAgent = "iPad/Chrome/SomethingRandom" webView.allowsBackForwardNavigationGestures = 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 } print(html) } } } override func viewDidLayoutSubviews() { super.viewDidLayoutSubviews() webView.frame = view.bounds } }
Asked Last updated
.
Post not yet marked as solved
80 Views

Gesture

Is it possible to add custom gesture to the full keyboard access?
Asked
by King246.
Last updated
.
Post not yet marked as solved
131 Views

Detect if Auto-Answer Calls is enabled

Hi! I am looking for a UIAccessibility or other API to indicate if the Auto-Answer Calls accessibility feature is enabled. Does such an API exist?
Asked
by dmitropon.
Last updated
.
Post not yet marked as solved
191 Views

Directly access to hand gestures like clench.. ? (Interface)

Hey everyone, I have a question about hand gestures. Does an app only have access to hand gestures when assistivetouch is activated? Or is there an interface in the documentation, which gives you directly access to the recognition of these hand gestures? Example: Thinking of a game that will be played with hand gestures. The character jumps when the user does a clench and stops when the user clenched twice. Would that be possible or works it only if the assistivetouch is activated and configured?
Asked
by Bendo.
Last updated
.
Post not yet marked as solved
153 Views

unsuccessful update to Big Sur 11.4

Can anybody tell me why I can't finish the updating to Big Sur 11.4? I started to update it over night and when I check it the following morning it didn't successfully update.
Asked
by lord_vber.
Last updated
.