The download button has 4 different states:Įach of these states is implemented as a separate view class. In this blog post, I will provide some details on how I implemented the download button as well as discuss some interesting points about the implementation. The README section describes how to use the library. You can take a look at the source code on the AHDownloadButton GitHub repo.
I only needed a couple more days to clean up the code and package it into a CocoaPod. After a bit of experimenting, I implemented a working version. I’ve been working in my spare time on implementing the download button. With the release of iOS 11, Apple introduced a completely redesigned App Store app with greatly improved UI.Īmong many features and improvements, one thing that I found interesting was the redesigned download/purchase/update button. Replicating the App Store download button