Emil
Emil

Reputation: 7256

UITabBar look like UIToolBar (changing color of UITabBar)

Is it possible to make a UITabBar look like a UIToolBar, while maintaining its UITabBar-functionallity? Bottom to top http://files.droplr.com.s3.amazonaws.com/files/14763142/1eiof1.Skjermbilde%202010-06-20%20kl.%2022.29.13.png

Make the UITabBar (bottom) look like the UIToolBar (top).

Thank you.

In addition to my question, I want to know how I can change the backgroundcolor of my tabBar. Is is possible? Does anybody have a library that subclasses the TabBar and changes its color?

Upvotes: 0

Views: 1551

Answers (2)

element119
element119

Reputation: 7625

Instead of making the UITabBar look like a UIToolBar, I would instead try making a UIToolBar have the functionality of a UITabBar- e.g. pressing on the buttons opens different subviews. Then, you could set the background color of the UIToolBar (it's actually listed as "Tint" in the properties).

Upvotes: 4

Michael Kessler
Michael Kessler

Reputation: 14235

You might use images that look like toolbar buttons...

Have I understood your question correctly?
You want to change the look of tab bar's items so they will look like toolbar items?

Upvotes: 1

Related Questions