I am trying to get desired color rendered in the background of Tab Bar however I am facing problems. These are the things that I tried :-
Changing the background color of tab bar object from storyboard. The color rendered is always lighter than the desired color.
Programmatically changing the color of the tab bar using the following code inside
viewDidLoad()
methodself.tabBar.translucent = false self.tabBar.backgroundColor = UIColor(hexString: "323B61")
It doesn't change the color. Instead , the color rendered is white.
How can I get the desired color for Tab Bar?