how many requests can widget make in func getTimeline(in context: Context, completion: @escaping (Timeline<Entry>) -> Void)

Asked on 2025-08-29

1 search

The number of requests a widget can make in the func getTimeline(in context: Context, completion: @escaping (Timeline<Entry>) -> Void) is not explicitly limited by a fixed number. Instead, the system budgets these requests to maintain performance and battery life. The widget can update its timeline through scheduled timeline reloads, Widget Center API calls, or widget push updates. Each of these methods is subject to system budgeting to ensure efficient resource usage. For more details, you can refer to the session What’s new in widgets (18:12).