views:

936

answers:

3

How can I set the title of UIToolBar such that it looks the same as the title in UINavigationBar?

I tried to use a button with plain style, it looks ok, but it will be highlighted when I click on it... Is there any better way to set the title in the detail view of split view?

A: 

You can uncheck "Shows touch on Highlight" in Interface Builder.

Thomas
thanks Thomas, but I can't find this option in IB... where is it?
Kelvin
Instead of searching in IB you could use something like[yourButton setShowsTouchWhenHighlighted:NO];
Thomas
A: 

What is the proper way to do this?

barfoon
I think the more proper way is to use UINavigationBar instead of UIToolBar
Kelvin