Soroush Khanlou 10/12/2021

Download Progress With Awaited Network Tasks

Read Original

This technical article details the process of creating a download progress bar in Swift using the new async/await concurrency model introduced in iOS 15. It contrasts the traditional URLSessionDataTask approach with the new await-able methods, specifically focusing on the AsyncBytes API for byte-by-byte asynchronous iteration to track download progress and update a UI progress indicator.

Download Progress With Awaited Network Tasks

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week