iOS 16.0 beta 7 broke Text(Date(), style: .timer) in SwiftUI widgets

Hi, In my apps, the recent iOS 16.0 beta 7 (20A5356a) broke the .timer DateStyle property of the Text view, in a SwiftUI widget.

In previous OS and beta, Text(Date(), style: .timer) was correctly displaying an increasing counter.

In iOS 6.0 beta 7, Text(Date(), style: .timer) does not update anymore, (and is offset to the left).

The other DateStyle (like .offset, .relative, ...) seems to update correctly.

Anyone noticed that (very specific) problem ?

having the same issue, big oof.

Disappointing that this wasn't fixed by the iOS 16 RC but I'm hoping that since it's working in iPadOS 16.1 that it will be fixed as of iOS 16.1.

OK ... so ... it seems that the public version of iOS16, being the same as RC1, still contains the bug.

Let's get ready for support emails from unhappy customers, and bad reviews from the App Store 😞.

(I read that iOS 16.1 is scheduled for November...)

Have the same issue ... All my widgets are broken, disappointed.

Bad news: still on released iOS 16.0. I really wonder did apple engineers using WidgetKit?

Unbelievable - all our widgets broke because of this.

Seems fixed in iOS 16.1 beta 1.

EDIT: Not fixed. Timers on Home Screen widgets count down but stop when you move to a different page. Oh well, good effort, Apple...

It isn't working correctly for me in iOS 16.1 beta 1 (on a physical device). Initially both the Home Screen and Lock Screen widget timer fields do work. However, once I have shown the Lock Screen and go back to the Home Screen widget, the timer has frozen. If I completely lock the phone, then unlock it, the Lock Screen timer changes to the elapsed time, but is no longer actively counting. Returning to the app seems to get the timers going again... until the Lock Screen is shown, then the timers freezes again.

WTH Apple?! How did you broke it in release?! Also filled bug FB11515892 with video and code of problem..

Indeed, the problem is not fully solved on iOS 16.1 beta 1.

With iOS 16.1, the timer updates when I touch the screen, but then the timer stops working. The timer has improved since iOS 16.0, so I think Apple is working on this issue.

Having the same issue and looks like Apple won't bother to fix this. It is so frustrating

We are having the same issue.

Same issue. style: .relative seems to be working. Not the same effect - but works for my use case (countdown) and better than nothing. I will release a version where it is using .relative instead of .timer - and will switch back automatically in 16.1. Hopefully Apple fixes it until that.

16.1 Beta 2, same problem.

iOS 16.0 beta 7 broke Text(Date(), style: .timer) in SwiftUI widgets
 
 
Q