Remove or compensate for the translucent black overlay when the user interface display controller is activated.

How to remove the overlay displayed by the search display controller, or offset it in iOS7. The error is only for iOS7. Apple Developer Forum is not very useful.

enter image description here

+4
source share
1 answer

Try it, it worked for me:

- (void)searchDisplayControllerWillBeginSearch:(UISearchDisplayController *)controller { [self.navigationController setNavigationBarHidden: YES animated: YES]; //... } -(void)searchDisplayControllerWillEndSearch:(UISearchDisplayController *)controller { [self.navigationController setNavigationBarHidden: NO animated: YES]; //... } 
0
source

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


All Articles