Skip to content
Theme
OnDevice Tools

AppleiPad & iPadOS

iPadOS 27 Shortcuts can track UV exposure without extra apps

An Apple Insider writer built a shortcut that estimates accumulated ultraviolet radiation during outdoor activities. It uses the persistent storage actions added in iPadOS 27 and iOS 27.

Illustration of an iPad running a Shortcuts menu for starting and ending a UV exposure session

Key takeaways

  • The Track UV Exposure shortcut runs on iPhone with iOS 27 or iPad with iPadOS 27, says Apple Insider.
  • It averages the starting and ending UV index, then multiplies by 0.9 to estimate a dose in standard erythema doses.
  • Persistent storage actions shown at WWDC 2026 let the shortcut recall the start time and index on a later run.
  • The result covers ambient radiation only, so sunscreen, shade and clothing are not part of the estimate.
In this article
  1. What the shortcut does
  2. Why duration matters
  3. How the calculation works
  4. Limits readers should note
  5. Who can use it and what to do

What the shortcut does

A new shortcut shows how iPadOS 27 Shortcuts can estimate how much ultraviolet radiation a person collects while outdoors. Apple Insider published the walkthrough on 4 December 2026. The writer built it for both iPhone and iPad.

The shortcut is called Track UV Exposure. It logs single UV index readings in Apple Health and keeps a history of estimated doses inside Shortcuts itself. According to Apple Insider, no Apple Watch, extra sensor or outside app is needed.

Why duration matters

The UV index describes how strong ultraviolet radiation is, including its power to burn skin. A check in the Weather app before a walk is helpful, yet a longer trip outdoors can add up to more radiation.

Apple Insider gives an example. One hour outside at a UV index of 3 gives the same ambient dose as half an hour at a UV index of 6. The second case is twice as intense but lasts half as long.

Scientists record accumulated exposure in standard erythema doses, shortened to SED. The International Agency for Research on Cancer puts one SED at 100 joules per square metre of ultraviolet radiation, weighted for its power to redden skin.

How the calculation works

The routine starts with a menu offering two choices, one to begin an outdoor activity and one to end it. On the first run it stores the time and the local UV index from Weather. A separate action writes that starting reading, with its timestamp, to Apple Health.

The second run fetches both saved values, asks Weather for the newest UV index and records the finish time. It then confirms the end comes after the start, so the duration cannot turn negative. A reading of zero is accepted as valid.

A time action counts the seconds between the two moments. The shortcut divides that figure by 3,600 to reach hours, then averages the first and last UV index values. Apple Insider multiplies the result by 0.9 to reach a dose in SED, so an hour at a UV index of 1 gives 0.9 SED.

Limits readers should note

The figure is an estimate of radiation in the surrounding air, not a reading of what lands on skin. As Apple Insider states, the shortcut cannot tell whether someone wears sunscreen, rests in shade or covers up with clothing. Treating the result as a burn forecast would therefore be a mistake.

Apple added UV exposure support to HealthKit in iOS 9, so developers can log index readings over time. The company does not offer a built-in measure of accumulated dose in SED, which is why the sum has to be worked out inside the shortcut.

Who can use it and what to do

Illustration: health, Apple logo, storage, tablet and the labels Apple Health, iOS 27, iPadOS 27

The build needs an iPhone on iOS 27 or an iPad on iPadOS 27. Shortcuts may request permission to read location, write to Apple Health and save exported files. Readings appear under Other Data in Health, and a history screen inside the shortcut lists finished sessions, which can also be exported to a spreadsheet.

One habit matters most. The session must be closed straight after the activity, because a late finish adds the spare hours to the estimate.

The memory feature behind all this is new. Apple showed the storage actions at WWDC 2026. Values are filed under names called storage keys, saved data can cover dates, numbers and lists, and it can sync between devices through iCloud. That removes the usual problem, since ordinary variables empty out when a run ends.

Apple Insider says comments are placed beside each action, so readers can adjust the logic or borrow it for their own automations. Anyone weighing skin protection should follow official health guidance rather than rely on a rough dose figure alone.

Sources

  1. How I built a UV exposure tracker with Apple Shortcuts in iPadOS 27Apple Insider

Tags

Spotted a mistake? See our corrections policy. Read how News by OnDevice works in our editorial policy.