Record an iPhone automation once and replay it on every screen size

By Dean Hajjar ·

Record the steps once in iFarm on any iPhone. For each tap, iFarm remembers the text on screen under your finger, so on replay it finds the same button on an iPhone SE or a Pro Max, waits up to 8 seconds for it, and checks the next screen appeared. Steps without text fall back to the position on screen, scaled to the phone.

Why recorded taps break on another iPhone

The simplest way to record a tap is to save where it happened: "tap at x 320, y 140". Replay that on the same phone and it works. Replay it on a different model and it often doesn't:

Scaling the coordinates fixes the first problem only. iFarm's Mirror does exactly that for live control (it repeats your taps on all checked phones, scaled to each screen), and it's great while you watch. For an automation that runs unattended on a mixed farm, you need replays that find the button itself.

How iFarm anchors taps to text

When you record in iFarm, each tap saves more than a position:

  1. The text under your finger, for example "General" or "Search", and where you tapped relative to it.
  2. A check for the next screen. After each tap, iFarm notes a new word that appeared (say "iOS Version" after tapping About) and adds a check step.

On replay, for each tap iFarm:

  1. Waits up to 8 seconds for the button's text to appear.
  2. Waits for scrolling to stop.
  3. Picks the copy of that text nearest where you originally tapped (useful when a word appears twice).
  4. Taps it, then checks for the word that should appear next.

A failed check is noted in the run's log ("Skipped (optional)…") instead of derailing the run. Steps without any text, like a tap on an icon-only button, fall back to the position on screen.

Recorded tapWhat replay looks forOn a different iPhone
A labelled button ("Settings", "Next")The text, near the original spotFound wherever the layout puts it
The same word twice on screenThe copy nearest the original spotThe right copy, not the first one
An icon with no textThe position, scaled to the screenWorks when the layout is similar
Opening an appAn Open app step by nameWorks wherever the icon is

Record one

  1. Open a phone large in iFarm and press Record in the Automations box.
  2. Use the phone through iFarm's live screen. Taps, swipes, holds, Home and volume buttons, typed text and the pauses between them are recorded.
  3. Press Stop and save. It appears under Automations in the sidebar.

A few things happen for you while recording:

Note: Recording covers what you do in iFarm's live view, not touches made directly on the phone. iOS doesn't let any app see those.

Edit the steps

A recording is a starting point. Every step can be edited, moved, deleted or added:

StepUse it for
Tap textTap a button by its label
WaitA fixed pause, or a random range such as 2–5 s
SwipeScroll or swipe between screens
Wait for textHold until something appears (and check it did)
If text is on screenHandle a screen that only sometimes appears
Repeat N times / for N minutesLoops
Sometimes (50%)Do a step on some runs and not others
Open appStart an app by name, from a fresh state
Open linkOpen a web address in a new Safari tab, or an app link
TypeEnter text in the focused field
HomeGo back to the home screen

Text settings make one automation reusable: add a setting such as site or search and use it in steps as $site. Change the value in the automation's Settings box without editing the steps, for example https://www.google.com/search?q=$search in an Open link step.

Built-in templates are read-only; Duplicate makes your own copy to edit.

Run it on every phone

Pick checked phones, all phones, a group or one phone, then Run. A phone that was disconnected for being idle is started first. To run it regularly, put it on a schedule (once or N times a day at random times inside a window, on chosen weekdays), or chain it with others in a flow.

If something gets in the way on one phone, iFarm tries to recover: it dismisses a system alert, taps a "Not now / Skip / Close" button, goes back, or reopens the app. If the step still can't be done, the run stops with a screenshot of where it got stuck, and the phone is sent Home.

Test mode: when you want failures, not recovery

For QA on real iPhones, turn on Test mode in an automation's header. It flips the defaults:

Record a flow once on one phone, run it in test mode on every model you own, and compare the reports.

Build one without recording

Two other ways produce the same kind of automation:

Share it

Frequently asked questions

Will an automation recorded on an iPhone 15 work on an iPhone SE?

Usually, yes. Taps on buttons with text are found by that text, wherever the smaller screen puts them. Taps on icons without text use the position scaled to the screen, which works when the layout is similar; replace those with a text step if one misses.

What happens if a button takes a few seconds to load?

Each tap waits up to 8 seconds for its button and for scrolling to stop. For slower screens, add a Wait for text step or a longer wait.

Can I add random waits to an automation?

Yes. Any wait can be a random range such as 2–5 s, and "sometimes (50%)" steps run on some runs and not others. That's useful for varied test runs. iFarm doesn't hide automation from apps, so follow each app's rules.

Does a replay need AI?

No. Recorded automations replay with no AI at all: fast and free.

Can I record touches I make on the phone itself?

No. iOS doesn't let any app see touches made directly on the phone, so record through iFarm's live screen.