TimOliver/TONavigationBar

Support barTintColor and tintColor

gbmksquare opened this issue · 3 comments

UINavigationBar can set barTintColor property to change the color of navigation bar for better appearance or branding (e.g. Facebook). TONavigationBar currently only supports white and black bar style, so its color may not match with other views where plain UINavigationBar with bar tint color is used.

How do you mean exactly?

Since UINavigationBar's bar tint color is set using UINavigationBar.appearance().barTintColor globally, or navigationBar.barTintColor locally, TONavigationBar can adopt similar methods.

(I've added description to this issue)

UIVisualEffectView doesn't provide a way to set tint color yet, but setting private values might work, as VisualEffectView do.