In order to view this lesson, you must purchase this course.
When you are building out an audio playback application, you have to be aware of the fact that your app can be interrupt at any give time. For example, you might receive a phone call while you are listening to an episode. In order to capture these events, we'll add an observer to NotificationCenter to monitor for interruptions. Next we handle how to update our UI whenever an interruption begins, and resume playback when an interruption ends.