iPhone - How set uinavigationbar height? -


I want to shorten the top of the navigation How do you get it? This is what I have tried to do so far, but as you can see, though I make the navigationbar smaller, the area that is used to capture it is still (black).

  [window junction: [navigation controller view]]; Navigation controller.view.fr = cgartextmake (0, 100, 320, 280); Navigation Controller Navigationbar.fr = CGRactam (0, 0, 320, 20); Navigation Controller View.backgroundColor = [UIColor blackColor]; [Window-making and knowledgeable];  

alt text

  @implementation UINavigationBar (customNav) - (CGSize) sizeThatFits: (CGSize) size {CGSize newSize = CGSizeMake (self.frame.size.width, 70); New return; } @end  

Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -