开发者

how to set UIProgressview for one second?

开发者 https://www.devze.com 2022-12-14 07:38 出处:网络
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 thi

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

精彩评论

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