Apologies
You must be signed in to watch this lesson.
Now Playing Info on Lock Screen
Podcasts
As you lock and unlock your iPhone device, you'll start to see that while the audio is playing back correctly, the information regarding your Podcast Episode isn't displayed at all. Let's fix this by returning back into the code where we start to play our episode, and at this very moment we can set the information pertaining to the lock screen. One tricky aspect of the lock screen is the current play time label. We have to make sure to update this right when we expect our application to go into the background.

Comments (3)
zcrystal
6 years ago
I can't seem to find the solution to the image bug in the project files
Brian Voong
6 years ago
Brian Voong
6 years ago
Te-Jen Wu
6 years ago
nowPlayingInfoMPNowPlayingInfoCenter.default().nowPlayingInfo cannot be updated when changing to the other episodes.
Brian Voong
6 years ago
awjenson
5 years ago
Hi Brian/other students, how did you figure out the code to write in this episode? What was your process or what was your resource? Learning how you do it will help me understand how to write code when I'm not following a tutorial. Cheers!
Brian Voong
5 years ago
HELP & SUPPORT