how to set UIProgressview for one second?
How to iimplement uiprogressview for one m开发者_如何学编程inute using NStimer?
You'll have to increment the progress view at smaller intervals; say once a second or so.
To animate the progress try this code: ( works with swift 5 )
UIProgressView.setProgress(3, animated: true)
// 3 refers to the duretion of progressing in seconds!
精彩评论