Closed iBCode closed 9 years ago
Where the problem occurs? On the storyboard or in the simulator/device?
I'll check it tomorrow.
On the storyboard, simulator: iPhone 6, iPhone 4s (7.1) and iPhone 4s (8.3). And the demo didn't show percentage text occasionally when I toggled between YLProgressBarIndicatorTextDisplayModeTrack. How come?
It occurred to me, too. Xcode 6.3.2, using YLProgressBar in storyboard. The '' YLProgressBarIndicatorTextDisplayModeProgress '' displays no text indicator while the " YLProgressBarIndicatorTextDisplayModeTrack " displays as the attached image:
I tested it with Xcode 6.3.2 and I can't reproduce the issue. Can you create a minimal example project that produce the glitch?
Here is the quick demo to reproduce this issue. https://github.com/iBCode/Demo
Is the last commit fixes the glitch?
Btw: thank you very much for your demo project, it really helps me.
Not really, just a demo to show this issue. lol
Xcode 6.3.2, using YLProgressBar in storyboard, neither YLProgressBarIndicatorTextDisplayModeProgress nor YLProgressBarIndicatorTextDisplayModeTrack displays the default text. Here is the code below for reference: // Initialize progress bar self.progressBar.progressTintColor = [UIColor greenColor]; self.progressBar.indicatorTextDisplayMode = YLProgressBarIndicatorTextDisplayModeTrack; self.progressBar.behavior = YLProgressBarBehaviorIndeterminate;