Posts

Post not yet marked as solved
1 Replies
Apparently this was my mistake. I was calling WKApplication.shared().scheduleBackgroundRefresh() in MainViewModel.init(), but if I call it in applicationDidBecomeActive(), everything seems to be working!
Post marked as solved
1 Replies
This problem is solved in Xcode 14 Beta 4/macOS Ventura beta 4.
Post not yet marked as solved
3 Replies
Thanks, but what about the case in my example, where we need to create this view multiple times in a ForEach statement?
Post marked as solved
18 Replies
It worked like a charm! Thank you!
Post not yet marked as solved
3 Replies
I don't know what I did, but somehow my widgets started to show up when I click the "Edit Widgets" button. I didn't have to put my app in the "Application" folder, I didn't create any release build (just the debug one), I didn't update OS/Xcode, etc. I may have increased the version/build number, or maybe restarting the OS did the trick.
Post marked as solved
2 Replies
Thank you!! This worked!