Skip to content

Commit

Permalink
Merge pull request #18084 from unoplatform/mergify/bp/release/stable/…
Browse files Browse the repository at this point in the history
…5.3/pr-18059

docs: Specify macOS support for WebView2 (backport #18059)
  • Loading branch information
jeromelaban authored Aug 30, 2024
2 parents 5394f6f + e80ed41 commit b691959
Showing 1 changed file with 2 additions and 2 deletions.
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, and macOS.
`WebView2` is currently supported on Windows, Android, iOS, macOS (Catalyst), and Skia WPF.

## Basic usage

Expand Down Expand Up @@ -58,7 +58,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

0 comments on commit b691959

Please sign in to comment.