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

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

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -