You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2021/07/17 17:20:51 UTC

[cordova-docs] branch master updated: (ios): Document WKUrlSchemeTask (#1152)

This is an automated email from the ASF dual-hosted git repository.

purplecabbage pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-docs.git


The following commit(s) were added to refs/heads/master by this push:
     new c2b0003  (ios): Document WKUrlSchemeTask (#1152)
c2b0003 is described below

commit c2b0003e5dfa348ded967d3b1ff72d1c99808590
Author: Niklas Merz <ni...@apache.org>
AuthorDate: Sat Jul 17 19:20:43 2021 +0200

    (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 <gi...@timbrust.de>
    
    Co-authored-by: Tim Brust <gi...@timbrust.de>
---
 www/docs/en/dev/guide/platforms/ios/plugin.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/www/docs/en/dev/guide/platforms/ios/plugin.md b/www/docs/en/dev/guide/platforms/ios/plugin.md
index 90be9f6..9415e8a 100644
--- a/www/docs/en/dev/guide/platforms/ios/plugin.md
+++ b/www/docs/en/dev/guide/platforms/ios/plugin.md
@@ -225,6 +225,10 @@ terminate and `handleOpenURL` events. See the
 [CDVPlugin.h][CDVPlugin.h] and [CDVPlugin.m][CDVPlugin.m]
 classes for guidance.
 
+### WKURLSchemeTask Hook
+
+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.
+
 ## Threading
 
 Plugin methods ordinarily execute in the same thread as the main

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org