【问题标题】:How to use DACircularProgressView in swift3?如何在 swift3 中使用 DACCircularProgressView?
【发布时间】:2016-10-24 11:14:44
【问题描述】:

我已经在 Objective C 中使用了 DACCircularProgressView danielamitay/DACircularProgress 但我不知道如何在 swift3 中使用 DACCircularProgressView?

【问题讨论】:

标签: ios objective-c swift3


【解决方案1】:

演出

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)

隐藏

progressView.removeFromSuperview()

【讨论】:

    猜你喜欢
    • 2017-04-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-01-21
    • 1970-01-01
    • 1970-01-01
    • 2017-01-29
    • 1970-01-01
    相关资源
    最近更新 更多