Track UV Exposure Using Shortcuts in iPadOS 27

Apple’s newest iPadOS 27 feature set includes more powerful Shortcuts tools — and one user built a UV exposure tracker to tap into them. Rather than only checking current UV index values, this Shortcut calculates the duration outdoors, computes a rough radiation dose, and logs it in Apple Health — all without needing additional hardware or third-party apps.

How the UV Exposure Shortcut Works

The tool starts by offering two options: “Begin Outdoor Activity” and “End Outdoor Activity.” Choosing the first captures both the current time and UV index (pulled from Weather), storing them via the persistent storage features introduced in iPadOS 27 and iOS 27. When the session ends, the Shortcut retrieves the start data, gets the current UV index and time, then calculates how long the activity lasted.

It averages the two UV readings (start and end), converts elapsed time into hours, and computes the cumulative UV radiation dose in Standard Erythema Doses (SED). This involves multiplying the average UV index by elapsed hours, then applying a factor grounded in how UV index values map to joules-per-square-meter of radiation. Once calculated, the ending UV index gets logged into Apple Health, the session data (duration, indices, dose, etc.) is appended to a stored history list, temporary values are cleared, and you get a desktop notification with the estimated dose.

History, Data Output & Limitations

The Shortcut preserves all past sessions. Each session is stored as a dictionary, holding six key pieces of information: start and end time, start and end UV index, average UV, and estimated dose in SED. You can review your exposure history within the Shortcut itself, and export it as a CSV for spreadsheets.

It’s not perfect. The Shortcut only samples UV at the start and end of each outdoor period, so changes in UV during the session—due to moving under shade or shifting clouds—aren’t captured. Also, it only measures ambient UV, not actual skin exposure, nor does it account for sunscreen, clothing, or shade.

Built using Shortcuts’ storage keys and persistent storage, this method builds on Apple’s HealthKit framework, which has supported UV index logging since iOS 9. What’s new here is automating full sessions, estimating cumulative radiation doses, and maintaining history without giving up privacy or using third-party services.

Development of the Shortcut included testing with short and long outdoor sessions, ensuring durations and doses were accurate. For example, a five minute, twenty-three second test recorded both start and end UV indices correctly, yielded the correct average UV, and calculated an estimated dose. Multiple sessions verified the tool handles zero UV readings properly and doesn’t overwrite prior records.

Why It Matters & What to Watch

This DIY UV exposure tracker addresses a gap in Apple Health: there’s no built-in tally of cumulative UV radiation. For people who spend lots of time outdoors—walkers, runners, stuff—knowing not just how high UV is, but how long you’re exposed can guide better sun safety choices. Exporting history lets you see exposure trends by time of day or by season.

Apple still doesn’t directly provide cumulative UV dose in SED via Health, nor estimate individual risk. The Shortcut’s results shouldn’t be used medically. But this showcases what’s possible now with persistent storage and automations in iPadOS 27 — and hints at what future HealthKit enhancements might bring, especially if Apple builds UV dose tracking directly into the system in a more automated fashion.

For users interested in gathering their own UV exposure data, this Shortcut is a solid template. It lays out a privacy-first, no-extra-hardware way to track ambient UV dose with enough precision to surface useful insights. As Apple expands Shortcuts and HealthKit integration, tools like this could close some of the persistent gaps in personal radiation tracking.