The iPhone Duo is the first iPhone since the 15 Pro without an Action Button. I wanted a physical button to launch Claude (works with any app) without losing quick access to the Camera, so I built a small "press again" system on top of Camera Control with a Shortcuts automation.
TL;DR
- Press Camera Control once: App A opens (Claude in my case)
- Press it again within 8 seconds: Camera opens
---
## How it works (the logic)
Camera Control can only launch one app, and only apps with camera access. So:
- Camera Control launches Magnifier (an app I never use, it works as a "trigger").
- A personal automation fires every time Magnifier opens.
- The automation reads a tiny text file with the timestamp of the previous press, calculates how many seconds have passed, saves the new timestamp, then:
- less than 8 seconds since the last press: opens Camera
- otherwise: opens Claude
Magnifier is only visible for a split second.
---
## Requirements
- iPhone with Camera Control (I'm on an iPhone Duo, should work on any model with Camera Control)
- Shortcuts app with iCloud Drive enabled (the timestamp file lives in iCloud Drive > Shortcuts)
- The app you want to launch (Claude, or anything else)
---
## Step 1: Set Camera Control to open Magnifier
Settings > Camera > Camera Control:
- Launch Camera: choose Magnifier
- Gesture: Single Press
## Step 2: Create the automation
- Shortcuts > Automation tab > +
- Choose App
- App: Magnifier, check Is Opened (leave "Is Closed" unchecked)
- Select Run Immediately and turn Notify When Run OFF
- Tap Next > New Blank Automation
## Step 3: Add the actions
Add these actions in this exact order, using the Search bar at the bottom:
- Get File from Folder
- Folder: Shortcuts
- Path: `last_press.txt`
- "Error If Not Found": OFF (the first time the file doesn't exist yet)
- Get Time Between Dates
- Unit: Seconds
- First date: File (the output of action 1)
- Second date: Current Date
- It must read: Get Seconds between File and Current Date. If you invert them, the result is negative, it's always "less than 8" and Camera opens every time. To change them, long press the field and pick the variable from the menu.
- Format Date
- Date: Current Date
- Date Format: ISO 8601
- "Include ISO 8601 Time": ON (without the time you only get the day and the math breaks)
- Save File
- Save: Formatted Date in Shortcuts
- "Ask Where to Save": OFF
- Subpath: `last_press.txt` (same name and folder as action 1)
- "Overwrite If File Exists": ON
- If
- Input: Time Between Dates (output of action 2). Shortcuts suggests "File Size" by default: long press, Select Variable, then tap the "Get Seconds between" block.
- Condition: is less than
- Number: 8
- Add Open App > Camera and drag it between "If" and "Otherwise"
- Add Open App > Claude and drag it between "Otherwise" and "End If"
Tap the back arrow at the top left: the automation saves automatically.
---
## How to use it
- One press: Claude opens.
- Two presses: press, wait until Claude appears, then press again. Camera opens.
It's not a lightning-fast double click: if you press the second time while Magnifier is still on screen, iOS doesn't see a new "app opened" event and the automation won't fire again. Press, see Claude, press.
---
## Troubleshooting
- Camera opens every time, even with one press: action 2 is inverted. It must be "between File and Current Date".
- Claude opens every time, Camera never: you're pressing the second time too fast (Magnifier still on screen) or too slow. Wait for Claude, then press. You can also raise 8 to 10.
- Nothing happens / you get a notification to confirm: the automation is not set to Run Immediately.
- Phone locked: Camera Control only opens Magnifier. The automation runs only when the phone is unlocked (on the Duo the Touch ID in the side button makes this quick).
- Want to debug: add Show Result after action 2 to see the seconds it calculates. Remove it when done.
---
## Customize
- Swap Claude and Camera for any two apps, or use Run Shortcut instead of Open App to trigger two different shortcuts.
- Change 8 seconds to whatever feels natural.
- You lose the direct "press = Camera" behavior, but Camera is still one extra press away (or swipe left on the Lock Screen).
If anyone has found a cleaner way to fake a double press on Camera Control, I'd love to see it!