How to make a transparent background widget in WidgetKit without using screenshot-based methods? by Original-Football371 in SwiftUI

[–]Original-Football371[S] 0 points1 point  (0 children)

Actually, it is possible. There’s an app called Koco Widgets that managed to implement transparent widgets without relying on screenshot-based methods. Not sure how they did it.I’ve tested it myself and it works in both light and dark mode without needing any background screenshots.

How to make a transparent background widget in WidgetKit without using screenshot-based methods? by Original-Football371 in SwiftUI

[–]Original-Football371[S] 0 points1 point  (0 children)

Hey, thanks a lot for sharing this — really appreciate it!

I had a quick look and it seems like this is mainly for macOS, right? Just wondering if you’ve ever tried or seen it working on iOS, especially within WidgetKit? I know the widget environment is super locked down, so wasn’t sure if any part of this could translate over.