iphone - Update current song name AVPLayer Xcode -
I want to update the current song name in this photo. I do not know how to call her and need to show the image. I am now using AVPlayer. I would like to know how to do it
MPNowPlayingInfoCenter * infoCenter = [MPNowPlayingInfoCenter defaultCenter]; Infocenter.nowPlayingInfo = [Nascundary Dictionary with Object Endease: @ "My Title", MPMDITP Property Title, @ "My Artist", MPMDITP Property Artist, Nil];
Did you #import Did & lt; MediaPlayer / MediaPlayer.h & gt; In this class? Is the Media Player Framework connected to your project?
Comments
Post a Comment