Skip to content

resumeAllTasks报错 #6

Description

@zxjjiaren

执行了suspendAllTasks,然后在执行resumeAllTasks会出下面的错
Invalid resume data for background download. Background downloads must use http or https and must download to an accessible file.
load failed with error Error Domain=NSURLErrorDomain Code=-3003
我是在 SGDownloadTaskCorrect 文件 downloadTaskWithSession
把if (systemVersion >= 10.0 || systemVersion < 10.2)
换成下面的
if (systemVersion >= 10.0 && systemVersion < 10.2)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions