Hello! I am trying to make my complication update info every second, so I could create a timer in it.
I already found a solution that helps me to create a timer
let components = DateComponents(second: 10)
let futureDate = Calendar.current.date(byAdding: components, to: Date())!
Text(futureDate, style: .timer)
but I want to make a breath timer, so I need to change it to 5 sec timer and then again to 10 sec.
Is there any solution that would allow me to update the info that shows in the new iOS 16 Lock Screen Widget in this way?