How to set iOS navigationItem tooltip without animation?

When i install

self.navigationItem.prompt = @""; 

in viewDidLoad , it animates the navigationBar above. I want to show it above, but without animation. How can I lose the animation?

+4
source share
1 answer

This seems like a trick:

 [UIView setAnimationsEnabled:NO]; self.navigationItem.prompt = @""; [UIView setAnimationsEnabled:YES]; 
+11
source

Source: https://habr.com/ru/post/1489788/


All Articles