Questions tagged [wkwebview]
A WKWebView object displays interactive web content. It is provided by Apple's WebKit which is available for macOS, iOS and tvOS as well.
wkwebview
3,906
questions
0
votes
0
answers
9
views
WKWebView accessibility tree not updated after DOM change
I have a simple UIKit app that pushes a view containing a WKWebView. If VoiceOver is enabled, when the view is pushed the OS sets the accessibility focus in the back button of the navigation bar. The ...
0
votes
1
answer
24
views
WkWebView: YouTube iframe low video quality on "Mac (Designed for iPad)"
I have a simple WkWebView with a YouTube iframe embedded.
I get high quality on
iPad simulator
physical iPhone
I only get low quality on
iPhone simulator
Mac (Designed for iPad)
I tried ?quality=...
0
votes
0
answers
21
views
WKWebView login session remains active when app is killed and relaunched
I am facing a weird issue in iOS app using WKWebView and this is happening in device but not simulator. We have a button on click of which we are creating a new WKWebView instance and before loading ...
0
votes
0
answers
27
views
Initializing WKWebView crashing app with exception
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSTaggedPointerString count]: unrecognized selector sent to instance
I am using xcode 15.4, I have tested in many ...
0
votes
0
answers
32
views
WKWebView OAuth popup misses window.opener in iOS 17.5+
In my project, I'm using the WKWebView to display the Google OAuth popup. After it appears, the JS window.opener is null, and because of that, the original window cannot receive an auth token in a ...
-1
votes
0
answers
28
views
Navbar Objects Not Entering Safe Area with XCODE and WKWebView
I have a web app, and I am not an IOS developer of any sort. I simply want to display my webapp in an IOS application for the appstore. Luckily I'm aware of WKWebView. So with that in mind I have ...
0
votes
0
answers
20
views
How can I get the Serialized-ID token from Keyclaok so I can set cookies on a WKWebView in a SwiftUI app?
I'm trying to set cookies on a WKWebView so a user is logged in, however, I don't know how to get the necessary cookies or data to construct the cookies myself.
For a user to be logged in the ...
0
votes
0
answers
15
views
microsoft.identitymode.tokens.audienceurivalidationfailedexception was thrown while trying to open One Drive document in WKWebView in iOS app
I am working in iOS app needs to be opened One Drive attachments in WKWebView.
Sample One Drive document is
https://\*\*\*.sharepoint.com/personal/\*\*\*\*\*\_onmicrosoft_com/\_layouts/15/Doc.aspx?...
0
votes
0
answers
26
views
Microphone input in website in webview for swiftui
I have a website of a chatbot that also accepts microphone inputs and I embedded that into my swift and the everything other than the mic is working. I have included permission in the info file and ...
-1
votes
0
answers
23
views
App Crashes loading webview "** Assertion failure in -[UIApplication _performAfterCATransactionCommitsWithLegacyRunloopObserverBasedTiming:block:]"
In my app I am trying to load webview with an URL , I am checking is it loading on main thread also loading webview in main thread using
DispatchQueue.main.async { self.loadRequest() } ,
webview loads ...
1
vote
0
answers
34
views
How to implement Google ReCaptcha for MacOS?
I am using the Google reCaptcha in iOS and android native apps, which is working fine. But I also want to implement the Google ReCaptcha in MacOS app as well. Google ReCaptcha Enterprise dose not ...
0
votes
0
answers
34
views
Not getting callback in userContentController in iOS Swift?
There is a click button on my webpage, but I am not getting the click button callback from the webview in userContentController. The javascript is already implemented on the web end.
I have tried to ...
0
votes
0
answers
35
views
Sandboxed macOS app not able to launch the PiP window via Javascript, why?
I have a macOS app which has a WKWebView which can load sites and if they have a video player, it can show the native PiP video window which the app invokes via a Javascript action to the WKWebView. ...
0
votes
0
answers
34
views
iOS - WKWebView application Push Notification failed to navigate (Redirect) to the respective screen using deep linking
I am using WKWebView to load the URL for my hybrid web application. When I receive push notifications, I use deep linking to handle them by invoking the evaluateJavaScript function of WebView.
It ...
2
votes
0
answers
118
views
Unable to run an iframe in a webview
The aim of my application is to be able, in offline mode, to open an html archive downloaded earlier in an html wrapper consisting of an iframe, or else in online mode to simply display a URL in the ...