title: xcode - MPNowPlayingInfoCenter info is not displayed on iOS 8
body: <p>I'm developing a music application, which should play music in the background.</p>
  
  <p>I use the <code>MPMoviePlayerController</code> to play the music. My code to initiate the <code>MPMoviePlayerController</code>:</p>
  
  <pre><code>NSString* resourcePath = [[NSBundle mainBundle] resourcePath];
  resourcePath = [resourcePath stringByAppendingString:@"/music.m4a"];
  NSError* err;
  self.player = [[MPMoviePlayerController alloc] initWithContentURL:[NSURL fileURLWithPath:resourcePath]];
  if (err) {
      NSLog(@"ERROR: %@", err.localizedDescription);
  }
  AVAudioSession *session = [AVAudioSession sharedInstance];
  [session setCategory:AVAudioSessionCategoryPlayback withOptions:AVAudioSessionCategoryOptionMixWithOthers error:nil];
  [session setActive:YES error:nil];
  [[UIApplication sharedApplication] beginReceivingRemoteControlEvents];
  [self.player setShouldAutoplay:NO];
  [self.player setControlStyle: MPMovieControlStyleEmbedded];
  self.player.view.hidden = YES;
  [self.player prepareToPlay];
  </code></pre>
  
  <p>When I execute <code>[self.player play];</code> the music starts.
  But I also want to display the name of the song, the name of the album and the album artwork in the LockScreen and the ControlCenter. I'm using the following code:</p>
  
  <pre><code>Class playingInfoCenter = NSClassFromString(@"MPNowPlayingInfoCenter");
      if (playingInfoCenter) {
          NSMutableDictionary *songInfo = [[NSMutableDictionary alloc] init];
          MPMediaItemArtwork *albumArt = [[MPMediaItemArtwork alloc] initWithImage: [UIImage imageNamed:@"artwork.png"]];
          [songInfo setObject:@"SongName" forKey:MPMediaItemPropertyTitle];
          [songInfo setObject:@"ArtistName" forKey:MPMediaItemPropertyArtist];
          [songInfo setObject:@"AlbumTitle" forKey:MPMediaItemPropertyAlbumTitle];
          [songInfo setObject:albumArt forKey:MPMediaItemPropertyArtwork];
          [[MPNowPlayingInfoCenter defaultCenter] setNowPlayingInfo:songInfo];
      }
  </code></pre>
  
  <p>But nothing gets displayed in the LockScreen. It doesn't get displayed in the ControlCenter either.</p>
  
  <p>How can I solve my problem? I didn't find anything on the internet.</p>
  
  <p>Thanks in advance, Fabian.</p>