I am using UIProgressView
to show percentage
so i have taken progressview in storyboard and given its class as UIProgressView
here if i give any value to percentageView.progress =
its totally filling.. it should fill only the given value, how to fill percentageView with given value?
these are the attribute inspector values in storyboard for UIProgressView
code:
class CandidateDashboardVC: UIViewController{
var progressValue : Float = 0
@IBOutlet weak var percentageView: UIProgressView!
override func viewDidLoad() {
super.viewDidLoad()
// percentageView.progress = 75.00
}
}
o/p: var progressValue : Float = 0
then
o/p: if i give percentageView.progress = 75.00
in didload then.. it should fill only 75% of progress but it is totally filling, why? please do guide.