开发者

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!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜