i am setting my UINAvigatoinBar
color like so with hex color:
self.navigationController.navigationBar.barTintColor = UIColorFromRGB(0x212121);
it works well on IOS7
but in lower versions it crash with the following :
[UINavigationBar setBarTintColor:]: unrecognized selector sent to instance
how can i do it right?