AVPlayer and Progressive Video Downloads with AVURLAssets
问题 We've got an app we're working on that needs to provide playback of video files via AVPlayer. The files need to be stored on the user's device, but also must playback while downloading. At the moment we've built a download module that uses the ASIHTTPRequest library to get the video files via PHP (we don't want the media to be linkable via public URLs) and write them to disk asynchronously. We've then setup an AVPlayer as per the AV Foundation Programming Guide, getting the file with