Rendering HTML in WidgetKit / SwiftUI

Hi, I was wondering whether it is possible to render HTML in SwiftUI, particularly in WidgetKit, which does not allow wrapping of UIKit elements (Which was previously used as a workaround to show HTML in SwiftUI).


Replies

Is there a plan to support WKWebview in near future?
In so far and you can use AttributedString you may render HTML. But most HTML documents are not representable by AttributedString.

If you require a WKWebView to render your widget, that is not currently supported.