NSURLSession+CorrectedResumeData.h 430 B

12345678910111213141516
  1. //
  2. // NSURLSession+CorrectedResumeData.h
  3. // jiaPei
  4. //
  5. // Created by 张嵘 on 2018/12/4.
  6. // Copyright © 2018 JCZ. All rights reserved.
  7. // 用于修复iOS 10.0、10.1系统暂停后继续下载错误问题
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface NSURLSession (CorrectedResumeData)
  11. - (NSURLSessionDownloadTask *)downloadTaskWithCorrectResumeData:(NSData *)resumeData;
  12. @end
  13. NS_ASSUME_NONNULL_END