0

I know that there are answers that it is not possible to create text label in Widget that will show current time and will be updating in real-time, but how still some apps do so ? They are showing seconds in widget.

Let me give few example of these apps live on app store.

There are many many more.

Tried to create clock widget, but widget is updating only each minute only that too in simulator.

  • Creation of timeline not helped
  • "Keeping a Widget Up To Date" not working with current time, only timers, etc
Sahil Garg
  • 11
  • 1
  • 1
    Animations on WidgetKit were only possible via private API before iOS 17. iOS 17 introduces some new possibilities and it has restricted the old private api access. You can watch a couple WWDC videos from last month on the Developer App – lorem ipsum Jul 26 '23 at 14:55
  • @loremipsum Thank you for you reply. I checked Animations on WidgetKit and based on that landed on a article which solved my prob. For any others reference - https://www.tridhyatech.com/blog/make-animated-live-widgets-in-the-iphone-lock-screen-using-swiftui Also if have any idea how to achieve this - https://stackoverflow.com/questions/76770368/watchos-widgetkit-image-issue – Sahil Garg Aug 25 '23 at 17:48

0 Answers0