when view controller loading i want to set audio controller to AVAudioSessionCategoryPlayAndRecord .. how can i do that?
I solved. Default is AVAudioSessionCategoryPlay . for AVAudioSessionCategoryPlayAndRecord you must set it inputEnabled: YES
Comments
I solved. Default is AVAudioSessionCategoryPlay . for AVAudioSessionCategoryPlayAndRecord you must set it inputEnabled: YES