我有一个带有倒计时器的小部件。我一直在使用“Text(event.startDate, style: .timer)”来更新小部件文本。但更新到 iOS 16 后,这个问题就不再起作用了。有人经历过同样的事情吗?看起来也不像是已弃用的https://developer.apple.com/documentation/swiftui/text/datestyle/timer
xcode widget swiftui ios16
ios16 ×1
swiftui ×1
widget ×1
xcode ×1