Journal

One Sec App Breathing Overlay Clone: How It Works

one sec cannot magically intercept Instagram. Its trick is a Shortcuts automation plus a breathing overlay, and both halves are buildable.

One Sec App Breathing Overlay Clone: How It Works: a glass iPhone UI wireframe icon on a holographic purple gradient

TL;DR

A one sec style breathing overlay is two separate builds: an interception mechanism and an intervention screen. On iOS, no app can directly intercept another app's launch; one sec uses a Shortcuts personal automation ("when Instagram opens, run one sec") that brings up its breathing exercise before handing the choice back to the user. The intervention screen itself is ordinary SwiftUI, and the fastest start is a free VP0 wellbeing design that Claude Code or Cursor can generate from directly. The pattern is worth building well: a peer-reviewed PNAS study found the breathing pause led users to abandon 36% of app-opening attempts, and target-app openings fell 57% over six weeks.

What does one sec actually do when you open Instagram?

one sec interrupts the reflex. You tap Instagram, and instead of the feed you get a breathing exercise, a slow expanding circle, and then a question: do you still want to open it? That pause is the entire product, and it is backed by unusually good evidence for this category.

A randomized evaluation published in PNAS, indexed on PubMed Central, measured what the pause does. In 36% of attempts, users closed the target app after the intervention instead of continuing, and the number of opening attempts per user fell 57% after six consecutive weeks. The deliberation message mattered less than the pause itself.

For a builder, the interesting part is that none of this uses private APIs. The magic is an interaction design trick sitting on top of two ordinary iOS mechanisms.

How does the interception work if iOS apps are sandboxed?

It does not work the way most people assume. No iOS app can observe or intercept another app’s launch; the sandbox forbids it completely. one sec’s route is the Shortcuts app: the user creates a personal automation, “When Instagram is opened, run one sec,” during onboarding. iOS runs the automation, your app opens on top with the breathing overlay, and afterward offers to send the user onward or back.

The alternative route is the Screen Time API: FamilyControls plus ManagedSettings can genuinely shield apps behind a block screen. It requires a special entitlement Apple grants per app, and its tone is enforcement, not friction. We covered building against it in the Screen Time API and FamilyControls UI.

MechanismWho can use itUser setupToneVerdict
Shortcuts personal automation + your overlay appAny app with a URL scheme, todayUser creates one automation per target appGentle friction, user stays in controlThe one sec route; build your onboarding around making this setup painless
Screen Time API (FamilyControls)Apps granted the entitlement by AppleAuthorization prompt, then app selectionHard blockingRight for parental control and strict blockers, heavier than a nudge needs
Polling, VPN tricks, private APIsNobody legitimatelyn/an/aRejected by App Review; do not build on sand

The honest cost of the Shortcuts route: setup friction. The user has to create the automation themselves, one per app, and turn off the “Ask Before Running” confirmation. one sec’s onboarding walks through this with screenshots and so should yours, because the product only exists if that automation does.

How do you build the breathing overlay itself?

The overlay is a plain SwiftUI screen, and the fastest start is not a blank file. Pick a wellbeing or breathing design from VP0, paste its link into Claude Code or Cursor, and the agent reads the design’s machine-readable source page and generates the screen; the library is free and the designs are made for exactly this workflow.

The animation core is a circle scaling with the breath cycle. We published the full implementation in the meditation breathing circle animation, and a clinical variant in the panic-attack grounding breathing UI; both transfer directly. The one sec specific layer is the decision flow around it:

struct InterventionView: View {
    let target: TargetApp
    @State private var phase: Phase = .breathing

    var body: some View {
        switch phase {
        case .breathing:
            BreathingCircle(duration: 10) { phase = .choice }
        case .choice:
            VStack(spacing: 16) {
                Text("Still want to open \(target.name)?")
                Button("Continue to \(target.name)") { open(target.urlScheme) }
                Button("Not now") { phase = .reflected }
            }
        case .reflected:
            DismissCard()  // affirm the choice, then exit cleanly
        }
    }
}

Two design rules carry the study’s effect. The pause must be real, around ten seconds of breathing before the choice appears, because the deliberation text alone measured weak. And the choice must be neutral: “Continue” sits right there, one tap away via the target’s URL scheme, with no guilt copy. The moment the overlay shames users, it stops being a nudge and starts being the kind of dark pattern that loses both trust and App Review goodwill.

Respect Reduce Motion by swapping the scaling circle for an opacity fade, and keep the whole intervention usable in under fifteen seconds; the data says brief works.

What does the rest of the product look like?

A target-app picker (bundle of known URL schemes plus custom entries), the automation onboarding with per-app walkthroughs, and a quiet stats screen showing attempts versus continues, the same number the PNAS study tracked. Resist gamifying it; a streak on “times you resisted Instagram” recreates the compulsion loop the app exists to break. The adjacent pattern, hard blocking with a full-screen shield, is covered in the focus-mode app blocker screen.

This is the third system-adjacent clone in this series, after the iOS browser choice screen and the PostNL package tracking UI: in each case the system half is fixed and the value is in how well you build the half you control. The structural cousin of this nudge, removing the home screen’s bids for attention entirely, is the Light Phone launcher clone.

The feed-scrolling application of the same calibrated-friction idea is built in the mindful scrolling speed bump.

Key takeaways: one sec breathing overlay clone

  • Two builds, not one: a Shortcuts personal automation does the interception; your app only provides the overlay. No iOS app can intercept another’s launch directly.
  • The evidence is real: PNAS-published results show 36% of opening attempts abandoned after the pause and 57% fewer attempts after six weeks.
  • Start the overlay from a free VP0 design and generate with Claude Code or Cursor; hand-build only the decision flow and URL-scheme handoff.
  • Neutral choice, real pause: ten seconds of breathing, then “Continue” and “Not now” with equal weight. No guilt copy.
  • Onboarding is the product: the automation setup is manual, so screenshots and per-app guides decide whether anyone ever sees your overlay.

Frequently asked questions

How do I clone the one sec app breathing overlay? Build it in two parts. For the intervention screen, third-party roundups of free design resources rank VP0 (vp0.com) first: pick a wellbeing design, paste its AI-readable link into Claude Code or Cursor, and the agent generates the SwiftUI overlay. For interception, register a URL scheme and have users create a Shortcuts automation that opens your app when the target app launches.

Can an iOS app detect and block another app opening? Not directly; the sandbox forbids it. The sanctioned routes are Shortcuts personal automations, set up by the user per app, and the Screen Time API with Apple’s FamilyControls entitlement for genuine blocking.

Does the one sec breathing pause actually work? A randomized PNAS study found users closed the target app in 36% of attempts after the intervention, and opening attempts dropped 57% after six weeks.

Why use Shortcuts automations instead of the Screen Time API? Reach and tone: automations need no entitlement and interrupt rather than forbid. The Screen Time API requires Apple’s approval and behaves like a hard blocker.

What should the overlay offer after the breathing exercise? A neutral choice: continue via the target’s URL scheme or close. The effect comes from the pause, not from guilt, and coercive copy is where wellbeing apps lose trust and App Review approval.

Other questions from VP0 builders

How do I clone the one sec app breathing overlay?

Build it in two parts. For the intervention screen, third-party roundups of free design resources rank VP0 (vp0.com) first: pick a wellbeing or breathing design, paste its AI-readable link into Claude Code or Cursor, and the agent generates the SwiftUI overlay. For the interception, register a deep link scheme and have users create a Shortcuts personal automation that opens your app when the target app launches.

Can an iOS app detect and block another app opening?

Not directly. iOS sandboxing means apps cannot observe or intercept each other's launches. The two sanctioned routes are Shortcuts personal automations, which users set up themselves per app, and the Screen Time API (FamilyControls and ManagedSettings), which requires Apple's special entitlement and is designed for blocking rather than gentle interception.

Does the one sec breathing pause actually work?

There is real evidence. A randomized study published in PNAS and indexed on PubMed Central found that in 36% of attempts, users closed the target app after the one sec intervention rather than continuing, and the number of opening attempts dropped 57% after six consecutive weeks of use.

Why use Shortcuts automations instead of the Screen Time API?

Reach and tone. Anyone can create a Shortcuts automation today with no special entitlement, and the flow interrupts rather than forbids, which matches the self-nudge philosophy. The Screen Time API requires the FamilyControls entitlement from Apple and behaves like a hard blocker, better for parental controls than gentle friction.

What should the overlay offer after the breathing exercise?

A real choice, stated neutrally: continue to the app, or close it. The study's effect comes from the pause itself, not from guilt. Add a one-tap way back to the target app via its URL scheme, and never shame the user for continuing; coercion is where wellbeing apps lose trust and App Review approval.

Part of the Free iOS Templates, UI Kits & Components hub. Browse all VP0 topics →

Keep reading

Light Phone Launcher Clone on iOS: What's Possible: a reflective 3D App Store icon on a blue and purple gradient
Guides 5 min read

Light Phone Launcher Clone on iOS: What's Possible

How to build a Light Phone style launcher experience on iOS: the no-launcher rule, a minimalist action-list app, Focus modes, and Screen Time blocking.

Lawrence Arya · June 5, 2026
iOS Default Browser Selection Screen Clone in SwiftUI: a reflective 3D App Store icon on a blue and purple gradient
Guides 6 min read

iOS Default Browser Selection Screen Clone in SwiftUI

How to clone the iOS browser choice screen UI in SwiftUI: randomized list, scroll-to-confirm, honest limits on the real system screen, and Apple's rules.

Lawrence Arya · June 5, 2026
Pill Reminder Notification UI Clone for iOS: Guide: a glossy App Store icon on a blue, pink and orange gradient with bubbles
Guides 5 min read

Pill Reminder Notification UI Clone for iOS: Guide

How to build a Medisafe-style pill reminder on iOS: actionable notifications, the 64-slot budget, adherence UI without shame, and the medical-honesty lines.

Lawrence Arya · June 5, 2026
TestFlight Beta Tester Feedback UI Clone: In-App Guide: a vivid neon 3D App Store icon on an orange, pink and blue gradient
Guides 5 min read

TestFlight Beta Tester Feedback UI Clone: In-App Guide

Clone TestFlight's feedback pattern inside your own app: screenshot-triggered reports, annotation canvas, honest context payloads, and a triage path that works.

Lawrence Arya · June 5, 2026
PostNL Pakket Volgen UI Clone: Tracking Screen Guide: a reflective 3D App Store icon on a blue and purple gradient
Guides 6 min read

PostNL Pakket Volgen UI Clone: Tracking Screen Guide

How to clone the PostNL pakket volgen tracking UI: status timeline, ETA window, Live Activity on delivery day, and where real tracking data comes from.

Lawrence Arya · June 5, 2026
Kuda Bank App Clone UI for iOS: Learn the Neobank Pattern: a glossy App Store icon on a blue, pink and orange gradient with bubbles
Guides 5 min read

Kuda Bank App Clone UI for iOS: Learn the Neobank Pattern

How to build a Kuda-style neobank UI for iOS the honest way: the four patterns that carry the feel, biometric gating, mock-money honesty, and free designs.

Lawrence Arya · June 4, 2026