CITY WALLPAPERS · SHORTCUTS

Change your iPhone wallpaper by time of day

Let Shortcuts set a city wallpaper from Hourline at sunrise, noon, sunset and night, so your Lock Screen and Home Screen follow the day. Eight steps, about five minutes.

Download on the App Store

Set it up

  1. Get Hourline. Install it from the App Store; it needs iOS 18 or later. Hourline is free, and everything up to step 7 works without Pro.
  2. Choose the picture in Hourline. Open Settings → City Wallpaper. Pick the city under City and, under Image Type, Scenery only (free) or Weather information (Pro). Tap Edit Wallpaper to move or zoom the picture. Hourline's action draws whatever this page shows each time it runs.
  3. Have a photo wallpaper to replace. Shortcuts changes a wallpaper that already exists. If you have no photo wallpaper, open any picture in Photos, tap Share, then Use as Wallpaper.
  4. Start a Time of Day automation. In Shortcuts, open Automation, tap New Automation and choose Time of Day. Choose Sunrise, Sunset or a clock time, set Repeat to Daily, then tap Next and start a new blank automation.
  5. Add Hourline's action. Search for Hourline and add Generate City Wallpaper. It has nothing to set: it renders the picture from step 2.
  6. Add Set Wallpaper Photo below it. Its input is Generate City Wallpaper's image. Tap the Wallpaper placeholder, choose your photo wallpaper and tap the checkmark. Beside the action, choose Lock Screen, Home Screen or both, and turn Show Preview off.
  7. Let it run on its own. Tap Run Immediately, turn the automation on and tap Done. With Run After Confirmation, iOS asks every time and the wallpaper changes only after you allow it.
  8. Test it. Tap the shortcut once in the Shortcuts list, then look at your wallpaper. To get a different time of day, copy the automation and change its time.
Shortcuts action Set Wallpaper to Generate City Wallpaper for Lock Screen and Home Screen, with the Wallpaper placeholder still to be chosenThe same Shortcuts action after choosing a photo wallpaper: Wallpaper 2 is set to Generate City Wallpaper for Lock Screen and Home Screen

Shortcuts screen captured on iOS 27, where the action reads Set Wallpaper; in your automation it sits under Time of Day.

When to run it

  • Sunrise and Sunset: two automations that catch the sky as it turns, wherever you are.
  • Four a day: for example 7:00, 12:00, 18:00 and 22:00 for morning, day, evening and night.
  • Every two hours: the shortest interval Hourline's own updates offer without Pro (iOS 27, below).

A Time of Day automation has one time, so each time of day is its own automation. The picture shows the chosen city's hour, which differs from yours if it lies in another time zone.

What iOS decides

  • iOS lets only you and Shortcuts change your wallpaper. Hourline cannot do it by itself; it provides the picture.
  • An automation lives on the device where you made it and does not turn on by itself on your other devices.
  • To run while the iPhone is locked, open the shortcut's settings and turn on Allow Running When Locked in Privacy.
  • On iOS 27 or later, Hourline can also start the shortcut on a schedule of its own: Settings → City Wallpaper → Automatic Updates, then Update Notifications. Free wallpapers update every 2 hours; every 5, 15, 30 or 60 minutes needs Pro. The Setup Guide in the same place shows each step.

If the wallpaper does not change

  • Run the shortcut by hand. If that works, the fault is in the automation; if not, in the action.
  • Tap the Wallpaper placeholder in Set Wallpaper Photo and choose your photo wallpaper. Until you do, there is nothing to replace.
  • Turn Show Preview off, and choose Run Immediately rather than Run After Confirmation.
  • Check that the automation is turned on, and that Lock Screen, Home Screen or both is set on the action.
  • On a locked iPhone, turn on Allow Running When Locked.
  • A picture that changes little between runs is normal around midday; the sky moves most near sunrise and sunset.

What Pro adds

Everything above is free, with scenery wallpapers whose sky follows the city's hour. Hourline Pro adds weather information on the wallpaper (current and hourly weather, a weather brief, your events and reminders), updates sooner than every 2 hours on iOS 27, and the OLED illustration. Without Pro, Hourline draws scenery even when Weather information is chosen. See Pricing.

Questions people ask

Can an iPhone change its wallpaper automatically by time of day?

Yes, through a Shortcuts personal automation. iOS does not let apps change the wallpaper themselves, so Hourline supplies the Generate City Wallpaper action and a Time of Day automation sets it as your wallpaper.

Does the wallpaper change need Hourline Pro?

No. Scenery wallpapers and the automation are free. Weather information on the wallpaper needs Pro.

Can it change at sunrise and sunset?

Yes. Time of Day automations offer Sunrise and Sunset as well as a clock time; make one automation for each.