A developer's iOS app uses the Camera API. During App Store review, the app is rejected because the NSCameraUsageDescription key is missing from the app's Info.plist. What role does this key play?
- A.It sets the capture resolution and the frame rate the platform applies to the session: an app omitting the key falls back to the lowest supported profile on the hardware it runs on during a recording
- B.It provides the user-facing purpose string displayed in the iOS permission dialog when the app requests camera access; its absence causes a crash on iOS 10+ and is an App Store review requirement
- C.It grants the bundle a hardware entitlement for the rear sensor and unlocks the depth stream alongside it: an app omitting the key finds the capture session refusing to start on a modern handset with a multi-lens array
- D.It registers the bundle with the privacy manifest system and declares camera data collection: the review team reads the entry during assessment
Why B is correct