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?

Answered by dqhieu in 677274022

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

Accepted Answer

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

Storing videos in local data
 
 
Q