Closed y0unghe closed 9 years ago
I created the progress bar from storyboard, I change the UIView class to YLProgressBar. and then set the color in viewDidLoad().
viewDidLoad()
progressBar.progressTintColor = UIColor.magentaColor() progressBar.trackTintColor = UIColor.whiteColor() progressBar.type = YLProgressBarType.Rounded progressBar.stripesOrientation = YLProgressBarStripesOrientation.Vertical ![Uploading iOS Simulator Screen Shot Apr 12, 2015, 12.49.58.png . . .]() progressBar.stripesDirection = YLProgressBarStripesDirection.Left
But there is a gap on the left, as you can see from pic below
Hi,
You can change the value of the progressBarInset property if you don't want this behaviour. By default there is a 1px inset.
progressBarInset
Best
I created the progress bar from storyboard, I change the UIView class to YLProgressBar. and then set the color in
viewDidLoad()
.But there is a gap on the left, as you can see from pic below