Karthikeyan B Karthikeyan B - 1 month ago 13
Objective-C Question

How to use DACircularProgressView in swift3?

I've already used DACircularProgressView danielamitay/DACircularProgress in Objective C but I don't know how to use DACircularProgressView in swift3?

Answer

for Show

progressView = DACircularProgressView(frame: CGRect(x: 140.0, y: 30.0, width: 40.0, height: 40.0))
progressView.roundedCorners = true
progressView.trackTintColor! = UIColor.clear
view.addSubview(progressView)

hide

progressView.removeFromSuperview()
Comments