I have this code in applicationDidFinishLaunching application:
navController.toolbarHidden = NO;
[navController toolbar].tintColor = [UIColor darkGrayColor];
[[navController toolbar] setFrame:CGRectMake(0.0,0.0,320.0,180.0)];
The first two lines definitely affect the user interface. For example, if I set toolbarHidden to YES, it is certainly hidden. However, when I try to set the frame and adjust the height of the toolbar, no changes occur. Does anyone know how to fix this?
source
share