Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
1 answer
319 views

Update (06.08.2025): Fixed in iOS beta 5 Something has changed in iOS 26 (tested on beta 4) and now if custom scheme is used and web page contains script element then WebKit is terminated with ...
0 votes
1 answer
375 views

I use WKURLSchemeHandler to handle some internal request (like home page, web page restore, etc). Sometimes when I call urlSchemeTask.didReceive(urlResponse), app will crash with EXC_BAD_ACCESS. Here ...
3 votes
0 answers
487 views

I have an application that displays some HTML content with a WKWebView. I'm using a WKURLSchemeHandler attached to the webview configuration to respond to requests for local resources. This works as ...
1 vote
1 answer
413 views

I need to embed html5 games in my app. (Embed into binary, in a such way that i don't need internet connection). I open index.html with loadHTMLString(htmlContentString, baseURL: "myschemename:///...
3 votes
1 answer
2k views

I have a problem with WKURLSchemeHandler and Task cancellation and provided an example implementation below. The problem is, that sometimes right after webView(_:stop:) is called (and "Stopping ...
0 votes
1 answer
558 views

I reference resources enter image description here This is my crash stack * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x18) frame #0: 0x00000001bbb513c4 ...
luca's user avatar
  • 1
2 votes
0 answers
350 views

I can't intercept all requests, I tried to use WKNavigationDelegate, schemeHandler and some repositories, but nothing is working. Is there any way to get them?
2 votes
2 answers
4k views

I am trying to get WKURLSchemeHandler to serve video files for when a WebView uses a custom url scheme. I realize that didReceive(data) can be called multiple times so I have figured out how to load ...
2 votes
0 answers
213 views

I develop hybrid application. When JS send XMLHTTPRequest with FormData, App WKURLSchemeHandler custom class receives WKURLSchemeTask with request, but request has no HTTPBody or HTTPBodyStream. Both ...
3 votes
1 answer
4k views

I want to use WKWebView and WKURLSchemeHandler to catch some links with custom schemes. To understand how it works, I've made a simple project (in Objective-C, sorry) with a local html file containing ...
1 vote
0 answers
180 views

I am loading local html file which will load first and then I will have to load an image that is also available locally only after the html is loaded fully. So, I am setting src for the image tag ...
0 votes
1 answer
883 views

I am working on a cordova ios (6.1.0) project and i want to implement a native WKURLSchemeHandler to intercept the custom scheme handling to solve my cors problems. In detail I want to do something ...
2 votes
0 answers
938 views

I have a WKWebView that present an HTML file from the project resource files. Along with the resource files there are CSS and JavaScript files for the web view to use. Side note: These web files are ...
0 votes
0 answers
1k views

Updated question I am loading a remote page that I control into a WKWebview in my app and customizing it by loading local CSS and font files. At page load, in webView:didFinishNavigation:, I am ...
3 votes
0 answers
765 views

Since iOS 11, you could use WKURLSchemeHandler with WKWebView: A protocol for loading resources with URL schemes that WebKit doesn't know how to handle. If you used a custom-scheme - let's say ...

15 30 50 per page
1
2

AltStyle によって変換されたページ (->オリジナル) /