Sal B.
Sal B.

Reputation: 75

UINavigationBar Appearance not setting color correctly

When I set the UINavigationBar color in the AppDelegate, the color does change, but it changes to a different shade of the color I specified. [[UINavigationBar appearance] setBarTintColor:globalColor];

Upvotes: 1

Views: 127

Answers (1)

Lyndsey Scott
Lyndsey Scott

Reputation: 37290

Assuming global color is in fact the color you think it is, also set

[[UINavigationBar appearance] setTranslucent:NO];

if you haven't already. Translucency can make the color appear different.

Upvotes: 4

Related Questions