From the documentation:
https://developer.apple.com/documentation/swiftui/imagerenderer
"ImageRenderer output only includes views that SwiftUI renders, such as text, images, shapes, and composite views of these types. It does not render views provided by native platform frameworks (AppKit and UIKit) such as web views, media players, and some controls. For these views, ImageRenderer displays a placeholder image, similar to the behavior of drawingGroup(opaque:colorMode:)."
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: