Incorporating native views to the Uno visual tree
Uno Platform supports embedding a purely native view — one that does not come from Uno Platform but is instead defined in a third-party library, via a binding, or in the native framework itself — alongside the Skia-rendered visual tree. This is available on Android, iOS, WebAssembly and on the Win32, X11 and macOS desktop hosts.
Note
Uno Platform 7.0 renders the UI exclusively with Skia. Native views are no longer part
of the visual tree by inheritance; they are embedded as the content of a
ContentControl and composited by the Skia host. If you are upgrading an app that placed
native views directly in panels, see
Migrating to Uno Platform 7.0.
Adding JavaScript views in WebAssembly
On WebAssembly, read this guide to learn how to embed native (HTML/JS) views.
Adding native views in Skia
On Skia targets, a native view is hosted by setting it as the Content of a ContentControl,
for example an Android.Views.View on Android or a UIKit.UIView on iOS.
Read this guide to learn how.