Post

Replies

Boosts

Views

Activity

Reply to iOS 16.2 beta 4 causes the AVAudioRecorder's .record() function to always return false
Found the issue. I was initializing the AVAudioRecorder BEFORE switching the AVAudioSession category to .record. At least as of 16.2 beta 4, you now have to initialize it AFTER setting the record category. All fine with me, it's probably the recommended approach, but an error reason would be nice when .record() returns false, I'd been at this for 7 hours total before I finally got it.
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’22