Looks promising, but it doesn't work. I get the error saying HKQuantitySample does not conform to PersistentModel.
I just don't see a way to get this to work at this point.
Post
Replies
Boosts
Views
Activity
There is finally a solution in WatchOS 10 using the widgetCurvesContent() modifier.
var body: some View {
Text("Hi")
.widgetCurvesContent()
.widgetLabel("World!")
}
There is finally a solution in WatchOS 10 using the widgetCurvesContent() modifier.
var body: some View {
Text("Hi")
.widgetCurvesContent()
.widgetLabel("World!")
}
Workaround helps but not consistently. Also now that I've been on the beta 3 for a bit longer now, I also noticed the issue doesn't always present itself. So for now the preview is working fine for me. Thanks!