Audio, speech, recording, and interruptions
Audio behavior depends on user intent and the current route. Recording, playback, mixing, Bluetooth, phone calls, Siri, and background use cannot share one assumed session configuration.
Design the capability
- Model idle, preparing, recording, paused, interrupted, finishing, transcribing, failed, and saved states.
- Configure an audio session for the active job and respond to route changes and interruptions without losing the file.
- Request microphone and speech access in context, explain processing, and preserve a useful nontranscribed recording path.
- Write incrementally to an app-owned file, enforce duration and storage limits, and clean partial captures deliberately.
Validation boundary
No microphone permission, audio route, interruption, background mode, speech authorization, transcription service, or physical-device recording was exercised.
Series navigation
- Previous: Part 101: Camera, PhotoKit, image pipelines, and Vision
- Next: Part 103: Video capture, editing, playback, and streaming architecture
- Series index: Zero to iOS Hero