tencent cloud

Tencent Cloud Super App as a Service

Special URL Handling in the Web-View Component

PDF
Focus Mode
Font Size
Last updated: 2025-07-04 18:03:46
Triggered when navigating to non-http/https URLs in the web-view component. This is used to handle special URLs within the web-view component, such as opening other apps.

// Triggered when navigating to non-http/https URLs in the web-view component. This is used to handle special URLs within the web-view component, such as opening other apps
// @param app {TMFMiniAppInfo} Information about the mini program where the web-view component is located
// @param url {NSURL} - The URL to be opened
// @return Whether to intercept and handle the URL
- (BOOL)webViewCustomUrlLoading:(TMFMiniAppInfo *)app
url:(NSURL *)url;



Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback