Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjustable Progress Color of ProgressBar #12

Closed
winkelsdorf opened this issue Feb 17, 2014 · 3 comments
Closed

Adjustable Progress Color of ProgressBar #12

winkelsdorf opened this issue Feb 17, 2014 · 3 comments

Comments

@winkelsdorf
Copy link

Next to the issue #11 dealing with device rotation, NJKWebViewProgress lacks a possibility to set a custom bar color by code (i.e. the color showing the progress, here: defaults to blue).

Compared to https://github.com/MobileMakersAcademy/SuProgress where I can override the progress animation color by a simple:

[self.SuProgressBar setBackgroundColor:[UIColor greenColor]];

Sticking for now to SuProgress, but I like the idea of using NJKWebViewProgress together with NJKScrollFullSreen to implement a safari-like iOS7 UX.

@TosinAF
Copy link

TosinAF commented Feb 19, 2014

This has been solved with this pull request #14

Its now as simple as

 _progressView.progressBarColor = [UIColor redColor];

Till he merges my fork with his. You can use my fork, https://github.com/TosinAF/NJKWebViewProgress

@ninjinkun
Copy link
Owner

@winkelsdorf You can change progress bar color using below code.

_progressView.progressBarView.backgroundColor = [UIColor redColor];

@winkelsdorf
Copy link
Author

Ah, missed that! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants