{"id":15037894,"url":"https://github.com/queeniecplusplus/ios_back_6","last_synced_at":"2026-01-31T10:33:26.106Z","repository":{"id":104588343,"uuid":"333414878","full_name":"QueenieCplusplus/iOS_Back_6","owner":"QueenieCplusplus","description":"Async Downloader in Background","archived":false,"fork":false,"pushed_at":"2021-01-29T12:32:10.000Z","size":1279,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T13:13:45.441Z","etag":null,"topics":["async","ios14","ios8","swift4","swift5","urlsessiondownloadtask","xcode10","xcode12"],"latest_commit_sha":null,"homepage":"https://github.com/QueenieCplusplus/QuickGoThru#apple-ios-swift-溫故愛鳳---計畫復甦","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QueenieCplusplus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-27T12:35:01.000Z","updated_at":"2021-01-29T12:32:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"8d6e2bc3-9009-470c-9ae0-8ee4806edee4","html_url":"https://github.com/QueenieCplusplus/iOS_Back_6","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FiOS_Back_6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FiOS_Back_6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FiOS_Back_6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FiOS_Back_6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QueenieCplusplus","download_url":"https://codeload.github.com/QueenieCplusplus/iOS_Back_6/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FiOS_Back_6/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259207599,"owners_count":22821715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","ios14","ios8","swift4","swift5","urlsessiondownloadtask","xcode10","xcode12"],"created_at":"2024-09-24T20:36:15.178Z","updated_at":"2026-01-31T10:33:26.022Z","avatar_url":"https://github.com/QueenieCplusplus.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# iOS_Back_6\nAsync Downloader in Background using URLSessionDownloadTask.\n\n1. setup in Info Property List, however this setup value effects the apps approval before the release phase.\n\n   ![](https://raw.githubusercontent.com/QueenieCplusplus/iOS_Back_6/main/info%20property%20list.png)\n\n \n2. code\n\n        let url = URL(string: \"https://www.windy.com/25.038/121.564?24.467,121.564,8,m:emSajxL\")\n        \n        let config = URLSessionConfiguration.default\n        let session = URLSession(configuration: config)\n        \n        //let downloader = session.downloadTask(with: \u003c#T##URLRequest#\u003e, completionHandler: \u003c#T##(URL?, URLResponse?, Error?) -\u003e Void#\u003e)\n        \n        let dl = session.downloadTask(with: url!\n\n3. output\n\n  ![](https://github.com/QueenieCplusplus/iOS_Back_6/blob/main/output.png)\n\n4. ref\n\n   https://zh-tw.coderbridge.com/series/01d31194cb3c428d9ca2575c91e8b997/posts/c44ba1db0ded4d53aec73a8e589ca1e5\n\n5. allow Download Task running in Background.\n\n   https://github.com/QueenieCplusplus/iOS_Back_16\n\n   ![](https://raw.githubusercontent.com/QueenieCplusplus/iOS_Back_6/main/allow%20background%20run.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqueeniecplusplus%2Fios_back_6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqueeniecplusplus%2Fios_back_6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqueeniecplusplus%2Fios_back_6/lists"}