Skip to content

Commit c2b0003

Browse files
NiklasMerztimbru31
andauthored
(ios): Document WKUrlSchemeTask (#1152)
* (ios): add WKURLSchemeTaskHook * Simple method description * Update www/docs/en/dev/guide/platforms/ios/plugin.md Co-authored-by: Tim Brust <github@timbrust.de> Co-authored-by: Tim Brust <github@timbrust.de>
1 parent dbfa4c1 commit c2b0003

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

www/docs/en/dev/guide/platforms/ios/plugin.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,10 @@ terminate and `handleOpenURL` events. See the
225225
[CDVPlugin.h][CDVPlugin.h] and [CDVPlugin.m][CDVPlugin.m]
226226
classes for guidance.
227227

228+
### WKURLSchemeTask Hook
229+
230+
The [WKURLSchemeTask](https://developer.apple.com/documentation/webkit/wkurlschemetask) is an interface Cordova's main WKWebView uses to load files from your app's bundle. You can create your own custom schemes or custom loading code for the webview by implementing the `- (BOOL) overrideSchemeTask: (id <WKURLSchemeTask>)urlSchemeTask` method in a plugin.
231+
228232
## Threading
229233

230234
Plugin methods ordinarily execute in the same thread as the main

0 commit comments

Comments
 (0)