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..
Post
Replies
Boosts
Views
Activity
Seems like it's been an issue for some time: https://developer.apple.com/forums/thread/127928
My most recent trends are 5 days old :((
I'm having the same problem. As of today (Mar 23), the latest ASC trends are from Mar 19th.
.*
transition(with: view, duration: 2.0) animations: {	//doesn't work	}