From ca34d552920ab4abab5ec6bd7a6d379a43d9a18d Mon Sep 17 00:00:00 2001 From: Dominik Titl <78549750+morning4coffe-dev@users.noreply.github.com> Date: Wed, 28 Aug 2024 15:24:47 +0200 Subject: [PATCH] docs: Specify macOS support for WebView2 Related discussion - https://github.com/unoplatform/uno/discussions/17990. Currently this is a bit confusing --- doc/articles/controls/WebView.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/articles/controls/WebView.md b/doc/articles/controls/WebView.md index b95bdfbc9bf3..30cdbbb3ac38 100644 --- a/doc/articles/controls/WebView.md +++ b/doc/articles/controls/WebView.md @@ -2,7 +2,7 @@ > Uno Platform supports two `WebView` controls - a legacy `WebView` and a modernized `WebView2` control. For new development, we strongly recommend `WebView2` as it will get further improvements in the future. -`WebView2` is currently supported on Windows, Android, iOS, macOS, and Skia WPF. +`WebView2` is currently supported on Windows, Android, iOS, macOS (Catalyst), and Skia WPF. ## Basic usage @@ -61,7 +61,7 @@ function postWebViewMessage(message){ // Android unoWebView.postMessage(JSON.stringify(message)); } else if (window.hasOwnProperty("webkit") && typeof webkit.messageHandlers !== undefined) { - // iOS and macOS + // iOS and macOS (Catalyst) webkit.messageHandlers.unoWebView.postMessage(JSON.stringify(message)); } }