In recent versions of iOS, applications have some access to the media control buttons on the lock screen, for example, the Play / Pause button:
It looks like buttons should work with the MPMusicPlayerController
class, right? Is there a way to get raw events from buttons? Because the music player seems to offer an API to send MPMediaItem
s bundle. What if my application is, for example, a radio that needs to control the buttons differently?
zoul
source share