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 ?

Same issue here. I submit a feedback: FB11366424 (iOS 16.0 beta 7: Text(Date(), style: .timer) does not update in Widget)

Hope it is a bug and will get fixed soon!

Thank you.

Here is my feedback number FB11364016 as well.

Strangely, the problem does not appear on iPad (with iPadOS 16.1 beta 1 (20B5027f), released the same day).

So perhaps the implementations are different according tot he device, or the bug is already fixed.

I'm having this issue too. Glad I checked the forums! I submitted FB11388263 and mentioned the other two FBs in this thread.

iOS 16.0 beta 8 has the same problem

This is bad news... :(

I can confirm this too.

I wish Apple developers would read their forum / submitted feedbacks (which we spend time and energy on), and just say if the bug is under their radar.

OS regressions are the worst, and put us in a very awkward position with our app users.

Every developer team who meet this issue should open a feedback, I hope the number of feedbacks will raise the importance of this issue.

I'm tired of how many years this bug lasts. .timer had a long time alignment bug in widgets and had to use "multilineTextAlignment". We hoped this could be fixed in this update, but rather added a bigger bug. Developers modifying this module don't seem to be testing on widgets. It's time for the official version to be released soon, and I'm worried that it will be released without fixing any bugs.

Raised for iOS 16 beta 8: FB11419295.

Feedback assistant says that there are more than 10 recent similar reports, so at least they are aware about the problem (since someone merged them).

I'm also worried about the bug not being fixed before the non beta release, but this is a good sign.

The timer counts in a .accessoryInline widget but not in .systemSmall, .accessoryCircular, or .accessoryRectangular widgets.

I had submitted feedback to Apple regarding this issue. The feedback has been marked "Investigation complete - Unable to diagnose with current information". This was my first feedback submission to Apple... and to be honest, it wasn't the best feedback -- I could see this resolution being just a way to close my feedback. I did not include any logs files (or any files). I described as best I could the situation with the ".timer" style Text field no longer automatically counting (in Home and Lock Screen widgets). I wasn't sure how to provide steps to reproduce this... as the API component configuration just doesn't function (as it was).

Anyway, I'm just adding my experiences to this thread. I'm curious if any of you have had better luck with your feedback. (And if you have any pointers on better feedback, I'll take 'em)

The RC still does not fix this issue, we removed all the usage of this API.

Since the RC hasn't fixed this at all, I can only hope they put out a further release candidate before the main public release.

None of my widgets work properly now. "How are your Watch complications?" Well, they don't work at all. They kind of work in the Simulator, but on a real device they're fubar'd.

Pretty shocking release from Apple, and zero help from their engineers on these forums.

This is so bad. I'm preparing a new (degraded) version of my apps in case they don't fix it.

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.

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