Ramesh_T
Ramesh_T

Reputation: 1261

iOS- Download 5mb size video from server using NSURLSession

I have a video on my server, I want to download that video into my app and play using AVVideoPlayerViewController. This is working fine. My question is, if the app has downloaded 1 MB video and the internet gone and if I start the app then the video is starting from 0 bytes. But I want to download the video from 1.1 MB like this. This video will download in foreground. Is this possible or I will have to use backgroundtask method.

Can anyone suggest me any tutorials or examples for better understanding?

Upvotes: 0

Views: 401

Answers (1)

Related Questions