Download

iOS widgets with WidgetKit. Sizes, refresh budget and what changed in iOS 26

What an app widget is, where it appears, how to add one to an Xcode project and why it doesn’t refresh every minute.

In short

An iOS widget is a small view of your app on the Home Screen, in Today View or on the Lock Screen, built with WidgetKit and SwiftUI. A widget people look at often typically gets 40 to 70 refreshes a day, roughly one every 15 to 60 minutes (WidgetKit documentation, checked October 17, 2026).

What a widget is and where people see it

A widget shows one fresh piece of your app, such as the weather, the next meeting or what’s left of a budget. WidgetFamily, the type that defines widget sizes, arrived in iOS 14 in 2020. Today widgets live on the Home Screen and in Today View on iPhone and iPad, on the Lock Screen, in StandBy, in CarPlay, on the Mac desktop, and on walls and tables in Apple Vision Pro.

A widget doesn’t run all the time. The system renders it in a separate process from a schedule, the timeline, that your app hands to WidgetKit in advance. Since iOS 17 a widget can hold buttons and toggles that run an action through App Intents without opening the app.

Where widgets live in Xcode

A widget is its own target in Xcode next to your app. Choose File › New › Target, select the widget target in the iOS list, enter a name and click Finish. For a first simple widget Apple suggests clearing Include Live Activity and Include Configuration App Intent.

In code a widget is a Widget structure. The supportedFamilies modifier lists its sizes, while configurationDisplayName and description set the name and the line people read in the widget gallery.

Apple’s sizes and limits

SizeWhere on iPhonePoints on a 430×932 screen
SmallHome Screen, Today View, StandBy, CarPlay170×170
MediumHome Screen, Today View364×170
LargeHome Screen, Today View364×382
Extra largenot on iPhone, only iPad, Mac and Vision Pro748×356 on a 1024×1366 iPad
Accessory circular, rectangularLock Screen, below the clock76×76 and 172×76
Accessory inlineLock Screen, a line above the clock257×26, one tap target
Margins and textall sizes16 pt margin, 11 pt tight, text 11 pt or larger
Refreshesa widget people view often40 to 70 a day, entries about 5 minutes apart at least

Per the Human Interface Guidelines and WidgetKit documentation (WidgetFamily, Keeping a widget up to date), checked October 17, 2026.

iPhone widget sizes to scaleiPhone widget sizes on a 430 by 932 point screen per the Human Interface Guidelines as of October 17, 2026, to scale. Small is 170 by 170 points on the Home Screen. Medium is 364 by 170. Large is 364 by 382. On the Lock Screen, circular is 76 by 76, rectangular is 172 by 76 and inline is 257 by 26, a line above the clock. iPhone has no extra large widget, iPad does.iPhone widget sizes to scale430×932 pt screen, Human Interface Guidelines as of October 17, 2026Small170×170, HomeScreenMedium364×170Large364×382Circular76×76, LockScreenRectangular172×76, LockScreenInline257×26, above theclock
A large iPhone widget has 4.8 times the area of a small one, while the inline line above the clock is only 26 points tall. Per the Human Interface Guidelines, October 17, 2026.

The refresh budget, or why a widget lags

The budget applies to each widget a person adds and runs over a rolling 24 hours tuned to when they use their phone. Some reloads cost nothing, for example while your app is in the foreground, during audio or navigation, after a tap on a button in the widget, or when the system language or text size changes.

When your app gets new data it asks for a reload with WidgetCenter reloadTimelines. Since iOS 26 a push through WidgetPushHandler can also reload a widget, but Apple budgets those pushes too and delivers them when it suits the system. Timers and countdowns need no reloads at all, because the system redraws a dynamic date by itself.

What changed in iOS 26 and after

In June 2025, together with Liquid Glass, Home Screen widgets gained clear and tinted appearances. In them the system switches to the accented rendering mode, removes the background, adds glass or a tint and turns your content white. So Apple asks you to split views into primary and accent groups with widgetAccentable and to set image behavior with WidgetAccentedRenderingMode. The material itself is covered on the Liquid Glass page.

At the same time the small widget came to CarPlay, and in visionOS 26 widgets became physical objects with a paper or glass finish that people scale from 75 to 125 percent. On October 13, 2026 Apple added Apple HomeView guidance to the widgets section of the HIG.

How to build a first widget, step by step

  1. Pick one thing people will glance at, not tap. Apple says a widget that only repeats your app icon adds little value.
  2. Add a widget target with File › New › Target and start with the small size, as Apple’s own example does.
  3. Write a timeline with entries a sensible distance apart, 5 minutes or more, and a refresh policy of atEnd, never or after.
  4. If the widget shows app data, call WidgetCenter reloadTimelines for that widget kind whenever the data changes.
  5. Check the widget in previews in all three modes, full color, accented and vibrant, and with a large text size.

Common mistakes

  • Promising a refresh every minute. With 40 to 70 reloads a day that can’t happen, and for a live match score or a delivery Apple offers Live Activities instead.
  • A button that only opens the app. Apple wants Link and widgetURL for opening the app, while a button should get something done in place.
  • Text as an image. Rasterized text doesn’t scale and VoiceOver can’t read it, and Apple considers anything under 11 pt hard to read.
  • Skipping the clear appearance. In the accented mode your colored background disappears, and white text can end up on light glass.

An app built in Appto stays a regular SwiftUI project in Xcode, so a widget target goes into it the same way as into any other project, and the agent walks through the screens on the simulator and fixes what it finds. More on the app code page.

Questions

How often does an iPhone widget refresh?

A widget people view often usually gets 40 to 70 refreshes a day, about one every 15 to 60 minutes. The system picks the exact rhythm itself, per the WidgetKit documentation as of October 17, 2026.

Which iOS version made widgets interactive?

iOS 17, released in 2023. Buttons and toggles work in small, medium, large and extra large widgets, and in circular and rectangular widgets on the Lock Screen. On a locked phone they only act after the person unlocks it.

What widget sizes does iPhone support?

Small, medium and large on the Home Screen, plus circular, rectangular and inline on the Lock Screen. Extra large isn’t supported on iPhone, only on iPad, Mac and Vision Pro.

Can a widget show a timer without refreshing?

Yes. The system redraws a countdown or elapsed-time date on its own, and that doesn’t use the refresh budget.

How is a widget different from a Live Activity?

A widget stays on screen and refreshes on a schedule. A Live Activity follows one event with a start and an end, like a ride, and updates from the app or by push.

Build your own app in Appto

Appto checks the niche on fresh App Store data, designs the screens, writes the code, builds the App Store page and submits to Apple from your account or shows you what to press in App Store Connect. Runs on your own Claude Code or Codex.

Download for Mac