When I set
self.navigationItem.prompt = @"";
in viewDidLoad
, it animates the navigationBar
taller. I want to show it taller, but without the animation. How can I lose the animation?
When I set
self.navigationItem.prompt = @"";
in viewDidLoad
, it animates the navigationBar
taller. I want to show it taller, but without the animation. How can I lose the animation?
This seems to do the trick:
[UIView setAnimationsEnabled:NO];
self.navigationItem.prompt = @"";
[UIView setAnimationsEnabled:YES];