阅读背景:

下载nsurlsessiondownloadtask文件完成后检查内容类型

来源:互联网 

I am using a nsurlsession to manage downloading image/video files. Trouble is sometimes the request goes bad and returns text like "Content not found." How can I make sure that the file thats being downloaded is actually the file type I requested? (such as .jpeg or .mp4)I am using a nsurlsession to manage downloading




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: