UIHostingOrnament
A model that represents an ornament suitable for being hosted in UIKit.
Declaration
class UIHostingOrnament<Content> where Content : ViewOverview
Use a UIHostingOrnament when you want to add ornaments to a UIKit view controller. For example, the following adds a single bottom ornament to the current view controller:
self.ornaments = [
UIHostingOrnament(sceneAnchor: .bottom) {
OrnamentContent()
}
]