Storing videos in local data

I'm fresh into SwiftUI; what's the best way to have my app store videos from URLs (my own of course) into local data for offline viewing?

Accepted Reply

You can use URLSession to download the video and store it on the user device using FileManager

Replies

You can use URLSession to download the video and store it on the user device using FileManager