title: Blocking default player to play audio files ios
body: <p>My App has functionality to record and play audio using <code>AVAudioRecorder/AVAudioPlayer</code> respectively. Whenever I download an audio file from the server, the file is opened automatically using the default player with a black screen as shown:</p>
  
  <p><a href="https://i.stack.imgur.com/SIkla.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SIkla.png" alt="enter image description here"></a></p>
  
  <p>However, I actually have my own user interface to play audio files. How can I block this option programmatically?</p>