SnapSwitch is a small iOS app that launches a Shortcut when opened from the iPhone Camera Control button.
- Opens from Camera Control via a Locked Camera Capture extension.
- Detects Camera Control launches in the main app.
- Immediately opens
shortcuts://run-shortcutwith your configured Shortcut name. - If opened normally from the Home Screen, shows a simple UI to edit Shortcut settings.
- iPhone with Camera Control support (for example iPhone 16 lineup).
- iOS 18.2 or later.
- Xcode 16.2 or later.
SnapSwitch/: Main app and settings UI.SnapSwitchWidgetExtension/: Camera Control widget/control.SnapSwitchCaptureExtension/: Locked Camera Capture extension used for Camera Control launch.Shared/: Shared intent/context/logging code used across targets.
- Open
SnapSwitch.xcodeprojin Xcode. - Select your development team for all three targets:
SnapSwitchSnapSwitchWidgetExtensionSnapSwitchCaptureExtension
- Build and run on a physical device.
- Launch SnapSwitch normally.
- Enter your Shortcut name in the app.
- (Optional) Enter Shortcut input text.
- On iPhone, open Settings for Camera Control customization.
- Select SnapSwitch for the launch action.
- Press Camera Control.
- SnapSwitch should open and immediately hand off to Shortcuts.
- SnapSwitch stores Shortcut name/input locally in
UserDefaults. - No backend service is used.