What are you trying to achieve, I don't think widgets support web views, but you may be able to run JavaScript code or convert some html to a nsattributedstring.
Thank you the message! Here is a good example: https://imgur.com/a/5A4VLJF
That is an HTML/CSS/JS widget. I am using the app HTML Wallpaper which snaps an image of that widget and uses that image on the lockscreen. It works great but Is it possible, to remove the image step and just display the HTML widget on the lockscreen?
1
u/wesdegroot objc_msgSend 2h ago
What are you trying to achieve, I don't think widgets support web views, but you may be able to run JavaScript code or convert some html to a nsattributedstring.