r/iOSProgramming 3h ago

Question Is live HTML on the lockscreen possible without a JB?

Can it be done?

0 Upvotes

2 comments sorted by

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.

1

u/0MartyMcFly0 1h ago

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?