title: List all audio files in device iOS swift
body: <p>I'm creating an app to list out all audio files stored in the device of types(<em>.mp3,</em>.wav), I got a sample code from <code>stackoverflow</code> but it's not listing the files. For testing purpose I have attached few files in the app package also, that also not detecting, I don't know what I am doing wrong.</p>
  
  <pre><code> // All
      let mediaItems = MPMediaQuery.songs().items
  
      let mediaCollection = MPMediaItemCollection(items: mediaItems!)
  
      print(mediaCollection)
      print(mediaItems)
  </code></pre>