I want to change the color in the navigation bar, and the documentation says that you are not trying to change the alpha value. So, how can I set a color that is not SDK-defined values ββ(for example, [UIColor redColor], brownColor, etc.), if all the constructors provide an alpha range value? I tried to get the current alpha value, but that didn't help. When I use my own color, this makes the navigation bar look like x-ray (scraggy, black-on-white).
[self.navigationController.navigationBar setTintColor: [UIColor brownColor]]
source
share