iOS Extension with transparent background

Viewed 191

I would like to add transparency to iOS widget, but it looks like it is not supported by default. Most widgets are non transparent, but I have an example of transparent one.

That's why I ask you about any tips on how to implement such feature for widgets. Thanks in advance!

1 Answers

Short answer is you can't (as of iOS 14.5).

Most "pseudo-transparent" non-Apple widgets involve asking the user for the wallpaper they're using, then cropping it accordingly and using the result as a widget's background, creating an illusion of transparency at that exact widget position. This can (and will) break parallax and other such effects.

That is if we're talking WidgetKit, of course; legacy Today widgets may give you a bit more freedom, although you likely won't achieve full transparency without hacks like above.

Related