# Check this app against App Store Review Guideline 2.5.9: Standard switches and behaviors

Apps must not change or disable standard buttons, switches or system behaviors, such as links to other apps.

Go through this codebase for each problem below. For each one that applies, fix it on a new git branch with the steps for this app's stack (React Native and Expo, Swift, or Flutter). If none apply, say so and why.

## The app may take over the volume buttons

Often a rejection.

**What Apple wants:** The volume buttons and silent switch must keep doing what people expect (Guideline 2.5.9). Workarounds that repurpose them are rejected.

**How to fix it:** Remove the volume-button workaround, or use Apple's capture-button API for a camera shutter.

Steps:

1. Remove code that watches and resets the volume to detect presses.
2. For a camera shutter, use AVCaptureEventInteraction (iOS 17.2 and later).

## Links to other apps may be blocked

Often a rejection.

**What Apple wants:** Links to other apps, like phone, mail or maps, must keep working (Guideline 2.5.9). A Call or Email link that does nothing is rejected as broken.

**How to fix it:** Open tel:, mailto: and external links with the system when the web view declines them.

Steps:

1. In the web view's navigation handler, open non-web and external links with the system URL opener.
2. Test phone, email and map links on a device.

---

AppScend checks an app against every guideline at once, on the developer's Mac: `npx appscend scan --json` in the app's root folder (docs: https://appscend.ai/docs).

Source: https://appscend.ai/guidelines/2-5-9
