UITabBar: Set Icon Color as Pattern Image

22 Views Asked by At

Is there a way to set the icon color in a UITabBar as a pattern image vs. a solid color?

One would think that the following would accomplish this:

tabBarController.tabBar.tintColor = UIColor(patternImage: UIImage(named: "my_image")!);

However, the above does not make the tab bar icon color that of the pattern image.

0

There are 0 best solutions below