title: how to put an image for every music that playing in lock screen in swift 3?
body: <p>I have a player that plays music in swift 3 and want to showing image in lock screen in every songs I searched stack overflow But the codes doesn't helped me please tell me some thing simple because I don't want to use different images ! I just want to show one Image when the app is playing Song in the lock screen 
  so here is my codes </p>
  
  <pre><code>var player : AVAudioPlayer = AVAudioPlayer()
  let audioPath = Bundle.main.path(forResource: "Torpedo", ofType: "mp3")
              try player = AVAudioPlayer(contentsOf: NSURL(fileURLWithPath: audioPath!) as URL)
  
          }catch {
  
              //Error
  
          }
  
  
          let session = AVAudioSession.sharedInstance()
          do {
  
              try session.setCategory(AVAudioSessionCategoryPlayback)
  
          }
  
          catch {
  
  
  
          }
    player.play()
  </code></pre>
  
  <p>and here is the codes that I used But didn't worked</p>
  
  <pre><code>MPNowPlayingInfoCenter.defaultCenter().nowPlayingInfo = [MPMediaItemPropertyArtist : AudioCenter.sharedInstnce.currentReciter().name,
                                                                   MPMediaItemPropertyTitle : AudioCenter.sharedInstnce.currentSurah()!.name,
                                                                   MPMediaItemPropertyArtwork:MPMediaItemArtwork(image: UIImage(named: "Logo")!)]
  </code></pre>