App Review 5.1.1(iv) rejection for Safari's camera prompt in ASWebAuthenticationSession

Our iOS app is rejected under guideline 5.1.1(iv) on each submission, and the reviewer's screenshot shows Safari's own camera prompt: "[our domain] Would Like to Access the Camera", with Cancel and Allow. We'd appreciate guidance on what App Review expects here.

Setup

  • The app runs an identity face check (AWS Rekognition Face Liveness) on our own HTTPS page, opened in ASWebAuthenticationSession. The web component needs camera access, which isn't supported in an embedded WKWebView.
  • Before opening the page, the app requests camera access natively with an NSCameraUsageDescription purpose string explaining why the camera is needed. The page itself also explains camera use, and its button says "Continue".
  • Users can decline either prompt and return to the app.

The problem
After the native prompt, Safari shows its own per-site camera prompt for the page. Neither the app nor the page can change its text or buttons, and it can't carry a purpose string. That prompt is what the reviewer screenshots.

Questions

  1. Is a web-based camera flow in ASWebAuthenticationSession acceptable under 5.1.1(iv), given the app's own prompt and purpose string come first?
  2. Is there a supported way to avoid or explain Safari's per-site prompt in this setup?
  3. Or does App Review expect camera use like this to be fully native?

5.1.1(iv) is about not manipulating or forcing people into "unnecessary data access", and it adds: "Where possible, provide alternative solutions for users who don't grant consent." Two things in your flow could read that way to a reviewer:

  1. The native camera request. If the app itself never uses the camera (the liveness check runs in the web page), asking for camera access natively is access the app doesn't need, and the user then gets a second prompt from Safari for the same thing. I'd drop the native request (keep NSCameraUsageDescription only if some other code or SDK in the app touches the camera), and let the page's own explanation lead into Safari's prompt.
  2. No way forward without the camera. If declining blocks the user, that looks like forced consent. An alternative path (manual or document verification, or "verify later") is what the guideline asks for.

The rejection message usually has a "Specifically" line saying which screen triggered it, worth quoting in your reply. If it still bounces, ask for an App Review appointment and walk them through the flow.

Fact first: 5.1.1(iv) is about not manipulating or forcing people into consent, and offering an alternative where possible. The prompt in the reviewer's screenshot is Safari's own, so my guess (not confirmed) is that the reviewer sees two consecutive camera prompts, or reads the page's "Continue" step as steering toward Allow.

Two things worth checking:
WKWebView has supported camera capture (getUserMedia) since iOS 14.3, and on iOS 15+ the WKUIDelegate method webView(_:requestMediaCapturePermissionFor:initiatedByFrame:type:decisionHandler:) lets your app decide. Returning .grant for your own origin after the user has already granted the native permission avoids the second, uneditable web prompt. Is the "not supported in WKWebView" limit something you hit in testing, or from the vendor docs? Worth re-testing on a current iOS.

AWS also ships a native Swift UI component for Face Liveness (aws-amplify/amplify-ui-swift-liveness), which removes the web prompt entirely.

Also, if there's any fallback when someone declines the camera (e.g. manual verification), mention it in the review notes, since 5.1.1(iv) explicitly asks for alternatives where possible. Could you share the exact rejection wording (minus identifying details)? It would show whether they object to the Safari prompt itself or to the screen before it.