Hi,
I was working on a music player application and facing few issues with MPMusicPlayerController applicationMusicPlayer.
Issue 1) When Apple "Music" app was killed on iPhone then song audio stops playing on my app as well no matter my app is running in foreground or background.
Issue 2) When Apple "Music" app was uninstalled from iPhone then the applicationMusicPlayer does not play songs on my app.
Issue 3) I am using MPCommandCenter to handle lock screen buttons. This is the code I am using [[UIApplication sharedApplication] beginReceivingRemoteControlEvents]; [self becomeFirstResponder]; [MPRemoteCommandCenter sharedCommandCenter].playCommand.enabled = YES; [[MPRemoteCommandCenter sharedCommandCenter].playCommand addTarget:self action:@selector(remotePlay)]; . But the selector method is never triggered and also I am not able to disable the lock screen controls.
I am completely struck with these issues. Can you please provide some documentation or guide me to resolve this issues.
Thanks,
Dashmeet