How to send UINavigationBar Items to Back of the NavigationBar
I have a navigation bar with some items like below screenshot. I need to send those items to back of the navigation bar for making them visible behind the overlay but there should not be user Interaction like second image below after clicking开发者_如何学编程 a button:
Fake it.
Set alpha to .3, then turn set UserInteractionEnabled = NO on each of those items.
Disclaimer: never done this before, and can't test it, but this would be my first approach.
used it: [self.navigationController.navigationBar setAlpha:0.5]; [self.navigationController.navigationBar setUserInteractionEnabled:NO];
精彩评论