DACircularProgress
DACircularProgress copied to clipboard
The track animation flickers while loading.
Here is my code. Is it because of the decimal value?
progressBlock: { (progress: Int32) -> Void in
if progress <= 99 {
self.progressView.setProgress(CGFloat(progress)/100, animated: true)
print("CG value: \(CGFloat(progress)/100)")
print(self.progressView.progress)
} else {
self.progressView.removeFromSuperview()
}
}