When I run the code snippet below, WidgetKit is supposed to request a new timeline at the end of each minute according to the Apple's documentation.
But it just works once and nothing happens afterward. I am trying it on iOS 14 Beta 2.
Code Block let currentDate = Date() let futureDate = Calendar.current.date(byAdding: .minute, value: 1, to: currentDate)! let timeline = Timeline(entries: [ Entry(date: currentDate, number: Int.random(in: 0...10))], policy: .after(futureDate)) completion(timeline)
But it just works once and nothing happens afterward. I am trying it on iOS 14 Beta 2.