I have a UIViewController
where the UINavigationBar
is pushing all the children views down. I have tried using this code in viewDidLoad
and in viewWillAppear
methods:
self.navigationController.navigationBar.translucent = YES;
But this doesn't seem to be working. Where am I going wrong?