In order to view this lesson, you must purchase this course.
With our application now downloading files locally onto our devices, its time to now implement some code to actually play our podcast episodes offline. This can become a bit tricky if you've never used the file system before for iOS applications. Essentially every time you launch your application, the operating system creates a new container that holds all of your files. This container changes each time your restart your app. Therefore, in order to retrieve the correct file path, you'll have to go through FileManager.default. I'll show you the necessary code for this in today's lesson. Enjoy.