Login required for access
In order to watch this lesson, you'll need to login to the website.
Background Audio Mode And Command Center Controls
Podcasts
Whenever your application goes into the background, all activity is stopped by the operating system. This is to prevent your application from taking up valuable resources that are needed by other applications. However Apple makes an exception for applications that want to play audio in the background. Let's go ahead an enable this feature in the settings of our application. Now that our podcast is playing in the background, it would be nice to have some way to control the playback, such as pausing or skipping ahead in the timeline. This is done by setting up some actions on MPRemoteCommandCenter.

Comments (6)
4 years ago
4 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
5 years ago
HELP & SUPPORT