I am developing my first iPhone application. I am quite new to iOS. I am trying to get the height of the UI Navigation bar using the code below below the viewDidLoad
method
float navBarHeight = self.navigationController.navigationBar.frame.size.height;
But the navBarHeight is returning 0. Not sure why that is.