What are the requirements to support Voice Isolation / Wide Spectrum microphone modes on iOS 15? I see that it's possible to programmatically display the selection menu but the new options say they are unavailable inside of my app.
I have a dummy app that creates a standard AVAudioSession
and sets the mode to .voiceChat
(have tried a lot values here) but still can't seem to switch the microphone mode. It also has the VoIP flag enabled on the capabilities tab.
Docs to show Microphone Mode prompt: https://developer.apple.com/documentation/avfoundation/avcapturedevice/systemuserinterface/microphonemodes