Skip to content

Commit

Permalink
Merge pull request #18059 from unoplatform/dev/doti/docs-wv2-support
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund authored Aug 29, 2024
2 parents 98c2aec + ca34d55 commit 5c594b6
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, 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

0 comments on commit 5c594b6

Please sign in to comment.