Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Specify macOS support for WebView2 #18059

Merged
merged 1 commit into from
Aug 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/articles/controls/WebView.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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));
}
}
Expand Down
Loading