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).

What’s new in widgets
WidgetKit elevates your app with updates to widgets, Live Activities, and controls. Learn how to bring your widgets to visionOS, take them on the road with CarPlay, and make them look their best with accented rendering modes. Plus, find out how relevant widgets can be surfaced in the Smart Stack on watchOS, and discover how push notifications can be used to keep your widgets up to date.

What’s new in watchOS 26
Discover the new features in watchOS 26 and learn how to integrate them into your watchOS and iOS apps. Explore the ARM64 architecture, and dive into the new design system. We’ll also share updates for widgets and insights on how to bring controls to Apple Watch.

What’s new in watchOS 11
Explore new opportunities on Apple Watch, including bringing Double Tap support to your watchOS app, making your Smart Stack widgets even more relevant and interactive, and displaying your iOS Live Activities in the Smart Stack.