この写真に現在の曲名を更新したいと思います。それを呼び出す方法がわからないので、画像を表示する必要があります。現在AVPlayerを使用しています。やり方を知りたいのですが。
これを試しましたが、エラーが表示されます。 アーキテクチャarmv7sの未定義のシンボル: "_ MPMediaItemPropertyTitle"、参照元:-[PlayViewController playPressed] inPlayViewController.o
MPNowPlayingInfoCenter *infoCenter = [MPNowPlayingInfoCenter defaultCenter];
infoCenter.nowPlayingInfo =
[NSDictionary dictionaryWithObjectsAndKeys:@"my title", MPMediaItemPropertyTitle,
@"my artist", MPMediaItemPropertyArtist,
nil];