Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
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?...
Sanjay Borkakoty's user avatar
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. ...
RRN's user avatar
  • 1,167
0 votes
0 answers
29 views

How to serve a React production build using Telegraph iOS Server Library?

Loading a React production build directly through Bundle.main.url and WKWebView is causing my server requests Origin header to be set as "file://" due to which I get CORS Error. We are using ...
Chaithra Salian's user avatar
-1 votes
1 answer
93 views

removing WKWebView leaving keyboard stuck open

Updated an app that used UIWebView to use WKWebView instead. However, the keyboard can be made to stay up and remain unresponsive following these steps: A WKWebView is opened to a URL that has input ...
Deron's user avatar
  • 9
0 votes
2 answers
842 views

In iPad/iPhone (iOS 17.4) App crashed on Launching

I am facing an issue when ever I am trying to install app on iOS 17.4 app getting crashed on Launching. Crash occurred in FIRDLJavaScriptExecutor file and I also update the firebase pods to latest ...
Harsh Kumar's user avatar
0 votes
0 answers
85 views

How to write unit test for WKWebView evaluateJavaScript

I want to do some unit test regarding WKWebView evaluateJavaScript JS code. JS code runs well in ViewController.m, but failed in unit test with error of "Domain=WKErrorDomain Code=5 "...
Aris-mm's user avatar
0 votes
0 answers
127 views

How to open finder inside WKWebView in macOS app?

In macOS, our requirement is to open a Finder when clicking Upload File from a web view. It works when I opened the same URL link in Safari but inside macOS application Open Finder its not getting ...
sanjay's user avatar
  • 9
1 vote
0 answers
57 views

WKWebView snapshot not working after certain size

I am using WKWebView in objective c to load my html string that i wrote for my project. it actually worked and i managed to save the image in my image path BUT it didnt work if the height exceeds 4100....
cloud's user avatar
  • 11
0 votes
0 answers
92 views

Debugging logos tweak on WKWebView

I am trying to create an iOS tweak that makes WKWebView run certain JavaScript code after it finishes loading a page. I made a simple iOS app with an embedded WKWebview, loading the url as “https://...
danest's user avatar
  • 11
0 votes
1 answer
123 views

How can I page through an e-Book using WKWebView

I've danced around this question previously, asking specific questions which I hoped might lead me to the next step in solving the larger problem. That didn't work (no answers), so this is the larger ...
headbanger's user avatar
  • 1,092
0 votes
1 answer
361 views

Constraints a view to the bottom of WKWebView.scollView

I am trying to put a view at the bottom of the contentView of my WkWebView.scrollView, but it seems like the view always end up at the origin Y of 5000 or 8000 which is the random value of bound ...
Steven-Carrot's user avatar
0 votes
2 answers
752 views

Cordova-ios is creating both UIWebView and WKWebView Components. How to switch to only WKWebView?

I am using cordova-ios 6.2.0. I am creating a webview browser in my project. I recently debugged that my project is creating UIWebView instance instead of WKWebView. I scanned the whole project but i ...
bigLearner's user avatar
2 votes
0 answers
102 views

WKWebView requestMediaPlaybackState(WithCompletionHandler) returns WKMediaPlaybackStatePlaying when video is not playing?

After navigating to a webpage using a WKWebView I'm polling every second to find out if there is any video media on the page and if it is playing. For many sites requestMediaPlaybackState (...
Eric's user avatar
  • 31
1 vote
1 answer
170 views

Attempt to Display Local PDF With WKWebView Results in White Screen

I have a PDF file stored in my local applications directory. I wrote the following code years ago to display the pdf in a webView. It has worked flawlessly, but no longer works. It instead displays a ...
JeffB6688's user avatar
  • 3,832
0 votes
1 answer
507 views

Obj-C decidePolicyForNavigationAction not being triggered

decidePolicyForNavigationAction is not being triggered when the webview loads a new page. It works when everything is initially loaded but then never gets triggered after that. - (void)webView:(...
Daniel98's user avatar

15 30 50 per page
1
2 3 4 5
28