title: Access to microphone for recording via code, iOS
body: <p>In my App am using AVAudioRecorder for recording. There is no problem regarding the recording. When I play my app for the first time, the problem is that an alertview pop ups, regarding  allow/dis allow the microphone to be used. </p>
  
  <p>I want to have</p>
  
  <p>1) control over this default alertview, so that my recording and timer (a label that is used to show the seconds, audio recorded) starts only when I click on Allow microphone,</p>
  
  <p>OR</p>
  
  <p>2) need to set microphones available for the app, so that It doesn't prompt the alertview asking to allow/dis allow microphone.</p>
  
  <p>I searched internet, stackoverflow, but didnt get any thing related to this post. 
  Read some posts, but they were regarding displaying the status, that microphone is available for app or not, which is not of that much use for me. </p>