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?
uitoolbar
s have fixed height. won't able change it.
Comments
Post a Comment