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];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With