Lock Screen iPod Controls Not Working With Spotify Music Player
I added the Spotify player to my app which also plays music using the MPMusicPlayerController. When music is playing from Spotify and the screen is locked, the remote control events are not received for play/pause and FFW/RWD when the user presses these buttons on the locked screen. If music is playing from the MPMusicPlayerController, I am able to receive the remote control events based on the following code: -(void) ViewDidLoad { ... [[UIApplication sharedApplication] beginReceivingRemoteControlEvents]; [self becomeFirstResponder]; ... } and - (BOOL) canBecomeFirstResponder { return YES; } -