Webview in widget

Hi Is it possible to render webview in Widget?

Basically i want to show some content of website in Widget on homescreen using webview.

I tried to use WKWebview in WidgetView, but it's not rendering .

Thanks with regards iOSProfessionals

It is not recommended to try and render a web process in your Widget. This can lead to memory issues, battery drain and more because there are underlying process(es) with WKWebView that make this an overall bad idea. It would be better use a snapshot of the web content your want to show as an image.

Rico

WWDR - DTS - Software Engineer

Webview in widget
 
 
Q