Making UIProgressView Rounded corners

前端 未结 13 1678
旧巷少年郎
旧巷少年郎 2021-02-07 13:59

I have created a UIProgressView with following properties

progressView.progressTintColor = UIColor.appChallengeColorWithAlpha(1.0)
progressView.trac         


        
13条回答
  •  被撕碎了的回忆
    2021-02-07 14:54

    It's very late to answer but actually I had the same problem.

    Here my simplest solution (no code needed !) :

    1. Add a container to embed your progress view

    1. Round corner for your container (10 = height of container / 2)

    1. The result :)

提交回复
热议问题