how can i set avaudio session default.

edited January 2016

when view controller loading i want to set audio controller to AVAudioSessionCategoryPlayAndRecord ..
how can i do that?

Comments

  • edited January 2016

    I solved. Default is AVAudioSessionCategoryPlay . for AVAudioSessionCategoryPlayAndRecord you must set it inputEnabled: YES

Sign In or Register to comment.