Reputation: 3931
Having trouble finding the API for the home screen shortcuts when the home button is clicked. My app plays audio and I want those similar shortcuts to pop up like the do for the iPod to give me the option to stop playback.
Can someone just point me to the reference?
Upvotes: 0
Views: 399
Reputation: 442
This is a good place to start:
From the Apple documentation:
Test that your app is properly receiving and handling remote control events with the Now Playing Controls. These controls are available on recent iOS devices that are running iOS 4.0 or later. To access these controls, press the Home button twice, then flick right along the bottom of the screen until you find the audio playback controls. These controls send remote control events to the app that is currently or was most recently playing audio. The icon to the right of the playback controls represents the app that is currently receiving the remote control events.
Upvotes: 1