Post

Replies

Boosts

Views

Activity

Reply to How to use AccessoryWidgetBackground with containerBackground API on iOS 17
Thanks @Palli_k, I don't know if there's any better/correct way of doing it but using: ZStack { AccessoryWidgetBackground() [...] } .widgetBackground(backgroundView: EmptyView()) At least seems to get rid of the error. While keeping the functionality and UI the same.. I have no idea what Apple was thinking.. even their own API is still wrong, 1w after the public iOS 17 release: https://developer.apple.com/documentation/widgetkit/accessorywidgetbackground If there's any good resource about how .containerBackground is actually supposed to work, please lmk..
Sep ’23