iphone - How do I set the height of a toolbar in objective C? -


i have code in applicationdidfinishlaunching:

navcontroller.toolbarhidden = no; [navcontroller toolbar].tintcolor = [uicolor darkgraycolor]; [[navcontroller toolbar] setframe:cgrectmake(0.0,0.0,320.0,180.0)]; 

the first 2 lines have effect on ui. example, if set toolbarhidden yes, hidden. however, when try set frame , customize toolbar height, no change takes place. know how fix this?

uitoolbars have fixed height. won't able change it.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -