You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but I don't see any preview code on this demo. I wanna know how to preview the activity widget use the PreviewProvider ? or you just run entire app to preview the UI?
structlive_activities_Previews:PreviewProvider{staticvarpreviews:someView{live_activitiesEntryView(context: !how to create this!).previewContext(WidgetPreviewContext(family:.systemSmall))}}
Thanks!
The text was updated successfully, but these errors were encountered:
Hi. I cannot find how to preview the live activities widget in Apple Developer Documentation.
The thing is still in beta. So, I simply run the app to preview the UI.
Or you may preview the widget design first, then copy the code back to the Live Widget(s).
Hi. I cannot find how to preview the live activities widget in Apple Developer Documentation. The thing is still in beta. So, I simply run the app to preview the UI.
Or you may preview the widget design first, then copy the code back to the Live Widget(s).
It's a helpful and amazing demo!
but I don't see any preview code on this demo. I wanna know how to preview the activity widget use the
PreviewProvider
? or you just run entire app to preview the UI?Thanks!
The text was updated successfully, but these errors were encountered: