We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Since iOS7 it's possible to set the tint color of views. Is it possible to define the global tint color and of certain views?
The text was updated successfully, but these errors were encountered:
There doesn't seem to be a global renderer for UIView So I'd need to implement something like this:
UIView
if ([NUISettings hasProperty:@"tint-color" withClass:className]) { [button setTintColor:[NUISettings getColor:@"tint-color" withClass:className]]; }
for each view renderer?
Sorry, something went wrong.
You can set global tint color programatically with [[UIApplication sharedApplication] keyWindow].tintColor = [Color redColor]
[[UIApplication sharedApplication] keyWindow].tintColor = [Color redColor]
Unfortunately, there's no way to load a specific color from the stylesheet, but you could add a class
ThemeColors { tint-color: #FF0000; }
Then use ``[[UIApplication sharedApplication] keyWindow].tintColor = [NUISettings getColor:@"tint-color" withClass:@"ThemeColors"]`
Duplicate of #223.
No branches or pull requests
Since iOS7 it's possible to set the tint color of views.
Is it possible to define the global tint color and of certain views?
The text was updated successfully, but these errors were encountered: