Post

Replies

Boosts

Views

Activity

Comment on WidgetKit complications won't update
Thanks for the insight. Can you tell whether the widgets on watchOS always use the latest data in userDefaults? In my case, I notice that the widgets doesn't always use the latest data even though the app itself uses the latest data (can confirm that watch app receive latest userDefaults from iPhone). It is like after some times (sometimes in minutes sometimes in hours), the widgets will start using latest data in userDefaults.
Topic: App & System Services SubTopic: General Tags:
Sep ’23
Comment on Cannot debug widget in a watch target using Xcode 14.1
Hello, Thank you for your solution. I have both main app and widget extension running at the same time now. But for the widget, there is no Print out. (print statement from my code). However, the main app shows print out normally. Any idea how to get the print out from widget extension? Note that the breakpoints work just fine for both main app and widget extension.
Topic: App & System Services SubTopic: General Tags:
Dec ’22